Version Description
- Time zone bug fixed
Download this release
Release Info
| Developer | adamskaat |
| Plugin | |
| Version | 2.1.6.1 |
| Comparing to | |
| See all releases | |
Code changes from version 2.1.6 to 2.1.6.1
- assets/js/Countdown.js +4 -3
- config/config.php +3 -3
- countdown-builder.php +1 -1
- readme.txt +4 -1
assets/js/Countdown.js
CHANGED
|
@@ -635,11 +635,12 @@ YcdCountdown.prototype.changeTimesStatus = function() {
|
|
| 635 |
|
| 636 |
YcdCountdown.prototype.setCounterTime = function(calendarValue, selectedTimezone) {
|
| 637 |
|
| 638 |
-
var currentDate = ycdmoment(new Date());
|
| 639 |
if (selectedTimezone) {
|
| 640 |
-
currentDate.tz(selectedTimezone);
|
|
|
|
|
|
|
|
|
|
| 641 |
}
|
| 642 |
-
currentDate.format('MM/DD/YYYY H:m:s');
|
| 643 |
|
| 644 |
var dateTime = new Date(currentDate).valueOf();
|
| 645 |
var timeNow = Math.floor(dateTime / 1000);
|
| 635 |
|
| 636 |
YcdCountdown.prototype.setCounterTime = function(calendarValue, selectedTimezone) {
|
| 637 |
|
|
|
|
| 638 |
if (selectedTimezone) {
|
| 639 |
+
var currentDate = ycdmoment(new Date()).tz(selectedTimezone).format('MM/DD/YYYY H:m:s');
|
| 640 |
+
}
|
| 641 |
+
else {
|
| 642 |
+
var currentDate = ycdmoment(new Date()).format('MM/DD/YYYY H:m:s');
|
| 643 |
}
|
|
|
|
| 644 |
|
| 645 |
var dateTime = new Date(currentDate).valueOf();
|
| 646 |
var timeNow = Math.floor(dateTime / 1000);
|
config/config.php
CHANGED
|
@@ -75,8 +75,8 @@ class YcdCountdownConfig
|
|
| 75 |
self::addDefine('YCD_CRON_REPEAT_INTERVAL', 1);
|
| 76 |
self::addDefine('YCD_AJAX_SUCCESS', 1);
|
| 77 |
self::addDefine('YCD_TABLE_LIMIT', 15);
|
| 78 |
-
self::addDefine('YCD_VERSION_PRO', 2.
|
| 79 |
-
self::addDefine('YCD_VERSION', 2.
|
| 80 |
self::addDefine('YCD_FREE_VERSION', 1);
|
| 81 |
self::addDefine('YCD_SILVER_VERSION', 2);
|
| 82 |
self::addDefine('YCD_GOLD_VERSION', 3);
|
|
@@ -84,7 +84,7 @@ class YcdCountdownConfig
|
|
| 84 |
self::addDefine('YCD_EXTENSION_VERSION', 99);
|
| 85 |
require_once(dirname(__FILE__).'/config-pkg.php');
|
| 86 |
|
| 87 |
-
$versionText = '2.1.6';
|
| 88 |
if (YCD_PKG_VERSION != YCD_FREE_VERSION) {
|
| 89 |
$versionText = '2.0.2';
|
| 90 |
}
|
| 75 |
self::addDefine('YCD_CRON_REPEAT_INTERVAL', 1);
|
| 76 |
self::addDefine('YCD_AJAX_SUCCESS', 1);
|
| 77 |
self::addDefine('YCD_TABLE_LIMIT', 15);
|
| 78 |
+
self::addDefine('YCD_VERSION_PRO', 2.021);
|
| 79 |
+
self::addDefine('YCD_VERSION', 2.161);
|
| 80 |
self::addDefine('YCD_FREE_VERSION', 1);
|
| 81 |
self::addDefine('YCD_SILVER_VERSION', 2);
|
| 82 |
self::addDefine('YCD_GOLD_VERSION', 3);
|
| 84 |
self::addDefine('YCD_EXTENSION_VERSION', 99);
|
| 85 |
require_once(dirname(__FILE__).'/config-pkg.php');
|
| 86 |
|
| 87 |
+
$versionText = '2.1.6.1';
|
| 88 |
if (YCD_PKG_VERSION != YCD_FREE_VERSION) {
|
| 89 |
$versionText = '2.0.2';
|
| 90 |
}
|
countdown-builder.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
/**
|
| 3 |
* Plugin Name: Countdown builder
|
| 4 |
* Description: The best countdown plugin by Adam skaat
|
| 5 |
-
* Version: 2.1.6
|
| 6 |
* Author: Adam Skaat
|
| 7 |
* Author URI: https://edmonsoft.com/countdown
|
| 8 |
* License: GPLv2
|
| 2 |
/**
|
| 3 |
* Plugin Name: Countdown builder
|
| 4 |
* Description: The best countdown plugin by Adam skaat
|
| 5 |
+
* Version: 2.1.6.1
|
| 6 |
* Author: Adam Skaat
|
| 7 |
* Author URI: https://edmonsoft.com/countdown
|
| 8 |
* License: GPLv2
|
readme.txt
CHANGED
|
@@ -3,7 +3,7 @@ Contributors: adamskaat
|
|
| 3 |
Tags: countdown, timer, countdown timer
|
| 4 |
Requires at least: 3.8
|
| 5 |
Tested up to: 5.8.1
|
| 6 |
-
Stable tag: 2.1.6
|
| 7 |
Requires PHP: 5.3
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
|
@@ -67,6 +67,9 @@ Yes you can, we have Circle and Flipclock countdown popups.
|
|
| 67 |
You need to select the .zip file, there is no need to extract the zip file, just upload it.
|
| 68 |
|
| 69 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
| 70 |
= 2.1.6 =
|
| 71 |
* Time zone per user functionality
|
| 72 |
|
| 3 |
Tags: countdown, timer, countdown timer
|
| 4 |
Requires at least: 3.8
|
| 5 |
Tested up to: 5.8.1
|
| 6 |
+
Stable tag: 2.1.6.1
|
| 7 |
Requires PHP: 5.3
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
| 67 |
You need to select the .zip file, there is no need to extract the zip file, just upload it.
|
| 68 |
|
| 69 |
== Changelog ==
|
| 70 |
+
= 2.1.6.1 =
|
| 71 |
+
* Time zone bug fixed
|
| 72 |
+
|
| 73 |
= 2.1.6 =
|
| 74 |
* Time zone per user functionality
|
| 75 |
|
