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.
|
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.
|
aguko
Post count: 43
|
>I’ll look into it further though.
Since I was very worried, I thank you!
|
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?
|
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.
|
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?
|
aguko
Post count: 43
|
I am using Google Chrome 29 by windows 7.
I did video capture of my situation.
http://youtu.be/wToWXElhJ1Y
|
aguko
Post count: 43
|
I decided to use a text box and DateTime class.
Thanks.
|