blacksrv Posted February 21, 2016 Share Posted February 21, 2016 Hi, I'm struggling with a datetime field, I'm using to set a foundation date and when I try to set it to 1803, it doesn't work, in fact, if the date is before 1901-01-01 ít changes to blank. Thanks. Link to comment Share on other sites More sharing options...
Webrocker Posted February 21, 2016 Share Posted February 21, 2016 hi, seems like a problem with php strtotime() and 32bit systems http://www.php.net/manual/en/function.strtotime.php (see notes) Link to comment Share on other sites More sharing options...
DaveP Posted February 21, 2016 Share Posted February 21, 2016 @blacksrv Just out of interest, what version of PHP are you running? Link to comment Share on other sites More sharing options...
blacksrv Posted February 21, 2016 Author Share Posted February 21, 2016 @blacksrv Just out of interest, what version of PHP are you running? PHP/5.5.19 Link to comment Share on other sites More sharing options...
matjazp Posted February 21, 2016 Share Posted February 21, 2016 Related to this? https://github.com/ryancramerdesign/ProcessWire/issues/1624 2 Link to comment Share on other sites More sharing options...
blacksrv Posted February 21, 2016 Author Share Posted February 21, 2016 Related to this? https://github.com/ryancramerdesign/ProcessWire/issues/1624 Correct. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now