Version Description
- When enqueuing JavaScripts, replaced dependecy of jquery-ui-datepicker with acf-datepicker
Download this release
Release Info
Developer | PerS |
Plugin | Date and Time Picker Field |
Version | 2.0.5 |
Comparing to | |
See all releases |
Code changes from version 2.0.4 to 2.0.5
- acf-date_time_picker.php +1 -1
- date_time_picker-v3.php +2 -2
- date_time_picker-v4.php +2 -2
- js/timepicker.js +0 -1
- readme.txt +7 -3
acf-date_time_picker.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Advanced Custom Fields: date_time_picker
|
4 |
Plugin URI: https://github.com/soderlind/acf-field-date-time-picker
|
5 |
Description: Date and Time Picker field for Advanced Custom Fields
|
6 |
-
Version: 2.0.
|
7 |
Author: Per Soderlind
|
8 |
Author URI: http://soderlind.no
|
9 |
License: GPLv2 or later
|
3 |
Plugin Name: Advanced Custom Fields: date_time_picker
|
4 |
Plugin URI: https://github.com/soderlind/acf-field-date-time-picker
|
5 |
Description: Date and Time Picker field for Advanced Custom Fields
|
6 |
+
Version: 2.0.5
|
7 |
Author: Per Soderlind
|
8 |
Author URI: http://soderlind.no
|
9 |
License: GPLv2 or later
|
date_time_picker-v3.php
CHANGED
@@ -40,7 +40,7 @@ class acf_field_date_time_picker extends acf_Field {
|
|
40 |
$this->settings = array(
|
41 |
'path' => $this->helpers_get_path( __FILE__ )
|
42 |
, 'dir' => $this->helpers_get_dir( __FILE__ )
|
43 |
-
, 'version' => '2.0.
|
44 |
);
|
45 |
}
|
46 |
|
@@ -255,7 +255,7 @@ class acf_field_date_time_picker extends acf_Field {
|
|
255 |
$has_locale = false;
|
256 |
$js_locale = $this->get_js_locale(get_locale());
|
257 |
wp_enqueue_script( 'jquery-ui-timepicker', $this->settings['dir'] . 'js/jquery-ui-timepicker-addon.js', array(
|
258 |
-
'
|
259 |
'jquery-ui-slider'
|
260 |
), $this->settings['version'], true );
|
261 |
|
40 |
$this->settings = array(
|
41 |
'path' => $this->helpers_get_path( __FILE__ )
|
42 |
, 'dir' => $this->helpers_get_dir( __FILE__ )
|
43 |
+
, 'version' => '2.0.5'
|
44 |
);
|
45 |
}
|
46 |
|
255 |
$has_locale = false;
|
256 |
$js_locale = $this->get_js_locale(get_locale());
|
257 |
wp_enqueue_script( 'jquery-ui-timepicker', $this->settings['dir'] . 'js/jquery-ui-timepicker-addon.js', array(
|
258 |
+
'acf-datepicker',
|
259 |
'jquery-ui-slider'
|
260 |
), $this->settings['version'], true );
|
261 |
|
date_time_picker-v4.php
CHANGED
@@ -45,7 +45,7 @@ class acf_field_date_time_picker extends acf_field
|
|
45 |
$this->settings = array(
|
46 |
'path' => apply_filters('acf/helpers/get_path', __FILE__)
|
47 |
, 'dir' => apply_filters('acf/helpers/get_dir', __FILE__)
|
48 |
-
, 'version' => '2.0.
|
49 |
);
|
50 |
|
51 |
}
|
@@ -235,7 +235,7 @@ class acf_field_date_time_picker extends acf_field
|
|
235 |
$js_locale = $this->get_js_locale(get_locale());
|
236 |
|
237 |
wp_enqueue_script( 'jquery-ui-timepicker', $this->settings['dir'] . 'js/jquery-ui-timepicker-addon.js', array(
|
238 |
-
'
|
239 |
'jquery-ui-slider'
|
240 |
), $this->settings['version'], true );
|
241 |
|
45 |
$this->settings = array(
|
46 |
'path' => apply_filters('acf/helpers/get_path', __FILE__)
|
47 |
, 'dir' => apply_filters('acf/helpers/get_dir', __FILE__)
|
48 |
+
, 'version' => '2.0.5'
|
49 |
);
|
50 |
|
51 |
}
|
235 |
$js_locale = $this->get_js_locale(get_locale());
|
236 |
|
237 |
wp_enqueue_script( 'jquery-ui-timepicker', $this->settings['dir'] . 'js/jquery-ui-timepicker-addon.js', array(
|
238 |
+
'acf-datepicker',
|
239 |
'jquery-ui-slider'
|
240 |
), $this->settings['version'], true );
|
241 |
|
js/timepicker.js
CHANGED
@@ -21,4 +21,3 @@ jQuery(function() {
|
|
21 |
});
|
22 |
});
|
23 |
});
|
24 |
-
|
21 |
});
|
22 |
});
|
23 |
});
|
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://soderlind.no/donate/
|
|
4 |
Tags: acf, custom field,datepicker,timepicker
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 3.5.1
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -14,12 +14,14 @@ Date and Time Picker field for Advanced Custom Fields
|
|
14 |
|
15 |
This is an add-on for the [Advanced Custom Fields](http://wordpress.org/extend/plugins/advanced-custom-fields/) WordPress plugin, that allows you to add a Date and Time Picker field type.
|
16 |
|
|
|
|
|
17 |
= Compatibility =
|
18 |
|
19 |
This add-on will work with:
|
20 |
|
21 |
-
* version 4 and up
|
22 |
-
* version 3 and bellow
|
23 |
|
24 |
= More Information =
|
25 |
|
@@ -102,6 +104,8 @@ TT AM or PM for AM/PM
|
|
102 |
* `h:m tt`: 12 hour clock with am/pm, no leading 0
|
103 |
|
104 |
== Changelog ==
|
|
|
|
|
105 |
= 2.0.4 =
|
106 |
* Updated JavaScript [language detection and loading](http://soderlind.no/time-picker-field-for-advanced-custom-fields/#localization)
|
107 |
= 2.0.3 =
|
4 |
Tags: acf, custom field,datepicker,timepicker
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 3.5.1
|
7 |
+
Stable tag: 2.0.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
14 |
|
15 |
This is an add-on for the [Advanced Custom Fields](http://wordpress.org/extend/plugins/advanced-custom-fields/) WordPress plugin, that allows you to add a Date and Time Picker field type.
|
16 |
|
17 |
+
[youtube http://www.youtube.com/watch?v=Mumx4HGOljQ]
|
18 |
+
|
19 |
= Compatibility =
|
20 |
|
21 |
This add-on will work with:
|
22 |
|
23 |
+
* Advanced Custom Fields version 4 and up
|
24 |
+
* Advanced Custom Fields version 3 and bellow
|
25 |
|
26 |
= More Information =
|
27 |
|
104 |
* `h:m tt`: 12 hour clock with am/pm, no leading 0
|
105 |
|
106 |
== Changelog ==
|
107 |
+
= 2.0.5 =
|
108 |
+
* When enqueuing JavaScripts, replaced dependecy of jquery-ui-datepicker with acf-datepicker
|
109 |
= 2.0.4 =
|
110 |
* Updated JavaScript [language detection and loading](http://soderlind.no/time-picker-field-for-advanced-custom-fields/#localization)
|
111 |
= 2.0.3 =
|