Date and Time Picker Field - Version 2.0.2

Version Description

  • Updated readme.txt
Download this release

Release Info

Developer PerS
Plugin Icon 128x128 Date and Time Picker Field
Version 2.0.2
Comparing to
See all releases

Code changes from version 2.0.0.2 to 2.0.2

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.0.2
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.2
7
  Author: Per Soderlind
8
  Author URI: http://soderlind.no
9
  License: GPLv2 or later
date_time_picker-v3.php CHANGED
@@ -86,7 +86,7 @@ class acf_field_date_time_picker extends acf_Field {
86
  </tr>
87
  <tr class="field_option field_option_<?php echo $this->name; ?> timepicker_dateformat">
88
  <td class="label">
89
- <label><?php _e( "Date format", $this->domain ); ?></label>
90
  <p class="description"><?php _e( "eg. mm/dd/yy. read more about", $this->domain ); ?> <a href="http://docs.jquery.com/UI/Datepicker/formatDate">formatDate</a></p>
91
  </td>
92
  <td>
@@ -146,7 +146,7 @@ class acf_field_date_time_picker extends acf_Field {
146
  , 'layout' => 'horizontal'
147
  , 'choices' => array(
148
  'slider' => __( 'Slider', $this->domain )
149
- , 'select' => __( 'Select', $this->domain )
150
  )
151
  ) );
152
  ?>
86
  </tr>
87
  <tr class="field_option field_option_<?php echo $this->name; ?> timepicker_dateformat">
88
  <td class="label">
89
+ <label><?php _e( "Date Format", $this->domain ); ?></label>
90
  <p class="description"><?php _e( "eg. mm/dd/yy. read more about", $this->domain ); ?> <a href="http://docs.jquery.com/UI/Datepicker/formatDate">formatDate</a></p>
91
  </td>
92
  <td>
146
  , 'layout' => 'horizontal'
147
  , 'choices' => array(
148
  'slider' => __( 'Slider', $this->domain )
149
+ , 'select' => __( 'Dropdown', $this->domain )
150
  )
151
  ) );
152
  ?>
date_time_picker-v4.php CHANGED
@@ -88,7 +88,7 @@ class acf_field_date_time_picker extends acf_field
88
  </tr>
89
  <tr class="field_option field_option_<?php echo $this->name; ?> timepicker_dateformat">
90
  <td class="label">
91
- <label><?php _e( "Date format", $this->domain ); ?></label>
92
  <p class="description"><?php printf(__("eg. mm/dd/yy. read more about <a href=\"%s\" target=\"_blank\">formatting date</a>", $this->domain ),"http://docs.jquery.com/UI/Datepicker/formatDate");?></p>
93
  </td>
94
  <td>
@@ -148,7 +148,7 @@ class acf_field_date_time_picker extends acf_field
148
  , 'layout' => 'horizontal'
149
  , 'choices' => array(
150
  'slider' => __( 'Slider', $this->domain )
151
- , 'select' => __( 'Select', $this->domain )
152
  )
153
  ) );
154
  ?>
88
  </tr>
89
  <tr class="field_option field_option_<?php echo $this->name; ?> timepicker_dateformat">
90
  <td class="label">
91
+ <label><?php _e( "Date Format", $this->domain ); ?></label>
92
  <p class="description"><?php printf(__("eg. mm/dd/yy. read more about <a href=\"%s\" target=\"_blank\">formatting date</a>", $this->domain ),"http://docs.jquery.com/UI/Datepicker/formatDate");?></p>
93
  </td>
94
  <td>
148
  , 'layout' => 'horizontal'
149
  , 'choices' => array(
150
  'slider' => __( 'Slider', $this->domain )
151
+ , 'select' => __( 'Dropdown', $this->domain )
152
  )
153
  ) );
154
  ?>
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
- === Advanced Custom Fields: Date and Time Picker Field ===
2
  Contributors: PerS
3
  Donate link: http://soderlind.no/donate/
4
- Tags: acf
5
  Requires at least: 3.4
6
  Tested up to: 3.5.1
7
- Stable tag: 2.0.0.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -18,8 +18,8 @@ This is an add-on for the [Advanced Custom Fields](http://wordpress.org/extend/p
18
 
19
  This add-on will work with:
20
 
21
- * version 4 and up
22
- * version 3 and bellow
23
 
24
  = More Information =
25
 
@@ -27,30 +27,21 @@ This add-on will work with:
27
 
28
  == Installation ==
29
 
30
- This add-on can be treated as both a WP plugin and a theme include.
31
-
32
- = Plugin =
33
  1. Copy the 'acf-date_time_picker' folder into your plugins folder
34
  2. Activate the plugin via the Plugins admin page
35
 
36
- = Include =
37
-
38
- NOT SUPPORTED in 2.0.0.beta
39
-
40
- 1. Copy the 'acf-date_time_picker' folder into your theme folder (can use sub folders). You can place the folder anywhere inside the 'wp-content' directory
41
- 2. Edit your functions.php file and add the code below (Make sure the path is correct to include the acf-date_time_picker.php file)
42
-
43
- `
44
- add_action('acf/register_fields', 'my_register_fields');
45
 
46
- function my_register_fields()
47
- {
48
- include_once('acf-date_time_picker/acf-date_time_picker.php');
49
- }
50
- `
51
 
52
  == Changelog ==
53
 
 
 
 
 
54
  = 2.0.0.beta =
55
  * Total rewrite, based on the [acf-field-type-template](https://github.com/elliotcondon/acf-field-type-template). Works with ACF v3 and ACF v4. In this beta you can only add the Date Time Picker field as a plugin (i.e. not as a template field).
56
  = 1.2.0 =
1
+ === Date and Time Picker Field ===
2
  Contributors: PerS
3
  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.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
18
 
19
  This add-on will work with:
20
 
21
+ * Advanced Custom Fields version 4 and up
22
+ * Advanced Custom Fields version 3 and bellow
23
 
24
  = More Information =
25
 
27
 
28
  == Installation ==
29
 
 
 
 
30
  1. Copy the 'acf-date_time_picker' folder into your plugins folder
31
  2. Activate the plugin via the Plugins admin page
32
 
33
+ == Screenshots ==
 
 
 
 
 
 
 
 
34
 
35
+ 1. Add the Date and Time Picker field
36
+ 2. Date and Time Picker
37
+ 3. Time Picker
 
 
38
 
39
  == Changelog ==
40
 
41
+ = 2.0.2 =
42
+ * Updated readme.txt
43
+ = 2.0.1 =
44
+ * Minor fix
45
  = 2.0.0.beta =
46
  * Total rewrite, based on the [acf-field-type-template](https://github.com/elliotcondon/acf-field-type-template). Works with ACF v3 and ACF v4. In this beta you can only add the Date Time Picker field as a plugin (i.e. not as a template field).
47
  = 1.2.0 =