Countdown, Coming Soon – Countdown & Clock - Version 2.3.6

Version Description

Download this release

Release Info

Developer adamskaat
Plugin Icon 128x128 Countdown, Coming Soon – Countdown & Clock
Version 2.3.6
Comparing to
See all releases

Code changes from version 2.3.5 to 2.3.6

assets/js/Countdown.js CHANGED
@@ -637,8 +637,8 @@ YcdCountdown.prototype.changeTimesStatus = function() {
637
  YcdCountdown.prototype.setCounterTime = function(calendarValue, selectedTimezone) {
638
 
639
  if (selectedTimezone) {
640
- var currentDate = moment(new Date()).tz(selectedTimezone).format('MM/DD/YYYY H:m:s');
641
- //var currentDate = moment(new Date()).format('MM/DD/YYYY H:m:s');
642
  }
643
  else {
644
  var currentDate = moment(new Date()).format('MM/DD/YYYY H:m:s');
637
  YcdCountdown.prototype.setCounterTime = function(calendarValue, selectedTimezone) {
638
 
639
  if (selectedTimezone) {
640
+ //var currentDate = moment(new Date()).tz(selectedTimezone).format('MM/DD/YYYY H:m:s');
641
+ var currentDate = moment(new Date()).format('MM/DD/YYYY H:m:s');
642
  }
643
  else {
644
  var currentDate = moment(new Date()).format('MM/DD/YYYY H:m:s');
classes/countdown/Countdown.php CHANGED
@@ -139,12 +139,11 @@ abstract class Countdown {
139
  public function includeGeneralScripts() {
140
  $isAdmin = is_admin();
141
  wp_enqueue_script( 'moment' );
 
142
 
143
  ScriptsIncluder::registerScript('YcdGeneral.js',array('dirUrl' => YCD_COUNTDOWN_JS_URL, 'dep' => array('moment')));
144
  ScriptsIncluder::localizeScript('YcdGeneral.js', 'YCD_GENERAL_ARGS', array('YCD_COUNTDOWN_RESET_COOKIE_NAME' => YCD_COUNTDOWN_RESET_COOKIE_NAME, 'isAdmin' => $isAdmin));
145
  ScriptsIncluder::enqueueScript('YcdGeneral.js');
146
- ScriptsIncluder::registerScript('moment-timezone.js', array('dirUrl' => YCD_COUNTDOWN_JS_URL));
147
- ScriptsIncluder::enqueueScript('moment-timezone.js');
148
  }
149
 
150
  public static function create($data = array()) {
139
  public function includeGeneralScripts() {
140
  $isAdmin = is_admin();
141
  wp_enqueue_script( 'moment' );
142
+
143
 
144
  ScriptsIncluder::registerScript('YcdGeneral.js',array('dirUrl' => YCD_COUNTDOWN_JS_URL, 'dep' => array('moment')));
145
  ScriptsIncluder::localizeScript('YcdGeneral.js', 'YCD_GENERAL_ARGS', array('YCD_COUNTDOWN_RESET_COOKIE_NAME' => YCD_COUNTDOWN_RESET_COOKIE_NAME, 'isAdmin' => $isAdmin));
146
  ScriptsIncluder::enqueueScript('YcdGeneral.js');
 
 
147
  }
148
 
149
  public static function create($data = array()) {
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.3.5
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.3.6
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.9.3
6
- Stable tag: 2.3.5
7
  Requires PHP: 5.3
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
3
  Tags: countdown, timer, countdown timer
4
  Requires at least: 3.8
5
  Tested up to: 5.9.3
6
+ Stable tag: 2.3.6
7
  Requires PHP: 5.3
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html