Version Description
- Clock 3 type improvement
- Bug fixed
Download this release
Release Info
| Developer | adamskaat |
| Plugin | |
| Version | 1.5.0 |
| Comparing to | |
| See all releases | |
Code changes from version 1.4.9 to 1.5.0
- assets/js/clock/canvas_clock.js +1 -1
- config/config.php +2 -2
- config/proOptionsConfig.php +1 -0
- countdown-builder.php +1 -1
- readme.txt +5 -1
assets/js/clock/canvas_clock.js
CHANGED
|
@@ -219,7 +219,7 @@ function ycdDigitalClock(size, cns, clockd, extraOptions)
|
|
| 219 |
var milisec=now.getMilliseconds();
|
| 220 |
var sec=now.getSeconds();
|
| 221 |
var min=now.getMinutes();
|
| 222 |
-
|
| 223 |
|
| 224 |
if(!isClock) {
|
| 225 |
var parseObj = YcdParseAllSeconds(extraOptions.allSeconds);
|
| 219 |
var milisec=now.getMilliseconds();
|
| 220 |
var sec=now.getSeconds();
|
| 221 |
var min=now.getMinutes();
|
| 222 |
+
var hour=(clockd.hasOwnProperty("time_24h") && clockd["time_24h"])?now.getHours():now.getHours()%12;
|
| 223 |
|
| 224 |
if(!isClock) {
|
| 225 |
var parseObj = YcdParseAllSeconds(extraOptions.allSeconds);
|
config/config.php
CHANGED
|
@@ -55,8 +55,8 @@ class YcdCountdownConfig {
|
|
| 55 |
self::addDefine('YCD_CRON_REPEAT_INTERVAL', 1);
|
| 56 |
self::addDefine('YCD_AJAX_SUCCESS', 1);
|
| 57 |
self::addDefine('YCD_TABLE_LIMIT', 15);
|
| 58 |
-
self::addDefine('YCD_VERSION', 1.
|
| 59 |
-
self::addDefine('YCD_VERSION_PRO', 1.
|
| 60 |
self::addDefine('YCD_FREE_VERSION', 1);
|
| 61 |
self::addDefine('YCD_SILVER_VERSION', 2);
|
| 62 |
self::addDefine('YCD_GOLD_VERSION', 3);
|
| 55 |
self::addDefine('YCD_CRON_REPEAT_INTERVAL', 1);
|
| 56 |
self::addDefine('YCD_AJAX_SUCCESS', 1);
|
| 57 |
self::addDefine('YCD_TABLE_LIMIT', 15);
|
| 58 |
+
self::addDefine('YCD_VERSION', 1.5);
|
| 59 |
+
self::addDefine('YCD_VERSION_PRO', 1.34);
|
| 60 |
self::addDefine('YCD_FREE_VERSION', 1);
|
| 61 |
self::addDefine('YCD_SILVER_VERSION', 2);
|
| 62 |
self::addDefine('YCD_GOLD_VERSION', 3);
|
config/proOptionsConfig.php
CHANGED
|
@@ -44,6 +44,7 @@ class proOptionsConfig {
|
|
| 44 |
$defaults[] = array('name' => 'ycd-progress-height', 'type' => 'html', 'defaultValue' => '22px');
|
| 45 |
$defaults[] = array('name' => 'ycd-progress-height', 'type' => 'html', 'defaultValue' => '22px');
|
| 46 |
|
|
|
|
| 47 |
$defaults[] = array('name' => 'ycd-clock1-indicate-color', 'type' => 'html', 'defaultValue' => '#222');
|
| 48 |
$defaults[] = array('name' => 'ycd-clock1-dial1-color', 'type' => 'html', 'defaultValue' => '#666600');
|
| 49 |
$defaults[] = array('name' => 'ycd-clock1-dial2-color', 'type' => 'html', 'defaultValue' => '#81812e');
|
| 44 |
$defaults[] = array('name' => 'ycd-progress-height', 'type' => 'html', 'defaultValue' => '22px');
|
| 45 |
$defaults[] = array('name' => 'ycd-progress-height', 'type' => 'html', 'defaultValue' => '22px');
|
| 46 |
|
| 47 |
+
$defaults[] = array('name' => 'ycd-clock-mode', 'type' => 'html', 'defaultValue' => '24');
|
| 48 |
$defaults[] = array('name' => 'ycd-clock1-indicate-color', 'type' => 'html', 'defaultValue' => '#222');
|
| 49 |
$defaults[] = array('name' => 'ycd-clock1-dial1-color', 'type' => 'html', 'defaultValue' => '#666600');
|
| 50 |
$defaults[] = array('name' => 'ycd-clock1-dial2-color', 'type' => 'html', 'defaultValue' => '#81812e');
|
countdown-builder.php
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
/**
|
| 3 |
* Plugin Name: Countdown builder
|
| 4 |
* Description: The best countdown plugin
|
| 5 |
-
* Version: 1.
|
| 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
|
| 5 |
+
* Version: 1.5.0
|
| 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.2.1
|
| 6 |
-
Stable tag: 1.
|
| 7 |
Requires PHP: 5.3
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
|
@@ -64,6 +64,10 @@ You need to select the .zip file, there is no need to extract the zip file, just
|
|
| 64 |
|
| 65 |
|
| 66 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
= 1.4.9 =
|
| 68 |
* Clock mode (12h/24h)
|
| 69 |
* But fixed
|
| 3 |
Tags: countdown, timer, countdown timer
|
| 4 |
Requires at least: 3.8
|
| 5 |
Tested up to: 5.2.1
|
| 6 |
+
Stable tag: 1.5.0
|
| 7 |
Requires PHP: 5.3
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
| 64 |
|
| 65 |
|
| 66 |
== Changelog ==
|
| 67 |
+
= 1.5.0 =
|
| 68 |
+
* Clock 3 type improvement
|
| 69 |
+
* Bug fixed
|
| 70 |
+
|
| 71 |
= 1.4.9 =
|
| 72 |
* Clock mode (12h/24h)
|
| 73 |
* But fixed
|
