Range of the DatePicker

This topic is: not resolved

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
Author Posts
September 1, 2013 at 3:13 pm #3353
aguko
Post count: 43

I am creating the web site of chronology.
I cannot save, if the years of three-digit are chosen by DatePicker (Example: 03 Sep 645 12:00 AM).

Is this a problem of WordPress?

Thanks.

September 2, 2013 at 4:25 pm #3354
traversal
Post count: 207

Interesting. It may be a problem with Date Pickers in general, given that computers generally store dates from 1970. I’ll look into it further though.

September 2, 2013 at 5:21 pm #3357
aguko
Post count: 43

>I’ll look into it further though.

Since I was very worried, I thank you!

September 4, 2013 at 10:46 am #3359
traversal
Post count: 207

Hey there.

Are you trying to change the publish date of the post, or is this for a custom field value? I’ve found that it works okay for both. Can you try prefixing the date with a “0”, so that it would be 03 Sep 0645?

September 4, 2013 at 12:05 pm #3360
aguko
Post count: 43

I tried.

I have used in the custom field.
First, “0” was not able to be inputted when the check was put into “Allow Time Selection?” at DatePicker.

The value was not saved, even if “Allow Time Selection?” was turned OFF and it inputted “0.”

Although I have saved till 1902, I was not able to save in 1901.

Reference post?
http://formidablepro.com/help-desk/datepicker-how-to-go-before-1970/
“If you’re working with dates outside the 13 Dec 1901 to 19 Jan 2038 range, then consider using PHP’s datetime objects which can work with a much wider range of dates.”

Incidentally, although the publish day of the post was changed in 0645, it was changed in 1970. This seems to be the specification of wordpress.

September 6, 2013 at 12:51 pm #3362
traversal
Post count: 207

Hey, I can’t quite work this out, since it’s working for me, even with time selection enabled.

http://cl.ly/image/3P2f2I3u1l0q

Maybe it’s a browser thing? What browser are you using?

September 6, 2013 at 3:45 pm #3363
aguko
Post count: 43

I am using Google Chrome 29 by windows 7.
I did video capture of my situation.

http://youtu.be/wToWXElhJ1Y

September 15, 2013 at 1:25 am #3368
aguko
Post count: 43

I decided to use a text box and DateTime class.

Thanks.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Latest From the Blog

MasterPress 1.3.1 is now available

MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.

Plugin Requirements

MasterPress requires a minimum of WordPress version 4.9, MySQL 5.6, and PHP version 5.6.20.

We also recommend that PHP is configured to use a memory limit of 64MB per request (128MB may be required for sites with higher complexity).

This plug-in is not compatible with the WordPress.com hosted service.

Three AM