Plugin Directory

Changeset 1971278


Ignore:
Timestamp:
11/09/2018 02:21:02 AM (7 years ago)
Author:
deuts
Message:

Update the plugin to fix bug about the actual date and time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • simple-text-only-countdown/trunk/simple-text-only-countdown.php

    r1438264 r1971278  
    33Plugin Name: Simple Text Only Countdown
    44Plugin URI: https://deuts.net/simple-text-only-countdown-wordpress-plugin/
    5 Description: A simple countdown shortcode plugin that displays just the text. No flash nor javascript for live timer effect, nor styles, just plain text. Visitors need to refresh the browsers in order to update the countdown.
    6 Version: 1.1.0
     5Description: A simple countdown shortcode plugin that displays just the text. No flash nor javascript for live timer effect, nor styles, just plain text. Perfect for in-line text-based countdown timer. Visitors need to refresh the browsers in order to update the countdown.
     6Version: 1.2.0
    77Author: deuts
    88Author URI: http://deuts.net/
     
    3636    $secondsOffset = $atts['timeoff'] * 60 * 60;
    3737    $targetDate -= $secondsOffset ; // Target date is expressed in GMT time
    38     $actualDate = mktime(gmdate("G,i,s,n,j,Y")); // Actual date is expressed in GMT time
     38    $actualDate = strtotime(gmdate("j F Y G:i:s")); // Actual date is expressed in GMT time
    3939   
    4040    if ($targetDate > $actualDate) {
Note: See TracChangeset for help on using the changeset viewer.