Comments (12)
Which PHP version do you have ?
from acf-field-date-time-picker.
I have the same problem. Date time picker suddenly stopped working. I think this happened after changing Wordpress from EN to NL.
Any solution already?
from acf-field-date-time-picker.
@dannykater You just changed from EN to NL, i.e. it's the same installation ? Reason I ask is if it's a different installation and the PHP version differ (and PHP is less that 5.3), it can be the problem.
from acf-field-date-time-picker.
btw .. if you'd like it to work as in 2.0.5 (not saveing date and time as a timestap), you can set this where you create the field.
NOTE, this will mess up your existing date and time values since they are in timestamp format.
from acf-field-date-time-picker.
@soderlind Yes it's the same installation. Changed language in wp-config.php and then updated to NL version.
It is working with timestamp on EN. So i dont see a reason to change that. Unfortunately it doesnt work in NL.
For some reason the "Date and Time Picker" doesn't change to NL language. The language is available in localization folder. Maybe it's got something to do with this?
from acf-field-date-time-picker.
@soderlind OK another update. I just changed the language to EN in the NL installation. And now the Fatal Error is not there anymore. So my conclussion is that the problem is related to the WP_LANG.
On NL it's not working. On EN it does. Regardsless the installation.
from acf-field-date-time-picker.
On Post->Add New (if it's where you have your date and time picker field), please do a view-source.
Search for timepicker_objectL10n, are the monthNames etc in Dutch?
Also search for acf-field-date-time-picker/js/localization/, if you find it, is the file?:
acf-field-date-time-picker/js/localization/jquery-ui-timepicker-nl.js?ver=2.0.8
from acf-field-date-time-picker.
@soderlind The monthNames are in Dutch.
The file is Yes: acf-field-date-time-picker/js/localization/jquery-ui-timepicker-nl.js?ver=2.0.8
from acf-field-date-time-picker.
Ok. I'm working with a fix for the date problem (converting between timestamp and the date / time format).
btw, which PHP version are you using ?
from acf-field-date-time-picker.
My hosting is running on PHP 5.3.x.
Can i solve this temporarely by not using the timestamp format, but the date / time instead?
from acf-field-date-time-picker.
Yes, not using the timestamp format should fix it. Date and time will be saved as a string in the same format you set when you created the field.
from acf-field-date-time-picker.
Hmm, nice. Everything is working now!
Setting: Save as timestamp? NO. (Language and installation are NL.) No more Fatal Error and front end in good language.
Good luck with solving the bug on timestamp and other languages than English.
Thanks for the quick help.
from acf-field-date-time-picker.
Related Issues (20)
- Date only request HOT 1
- readonly Setting is Missing.
- After acf Update class acf_field_date_time_picker is declared more than once HOT 15
- Cannot save a time output that does not show a date HOT 1
- EOL ACF PRO 5.0 support (?) HOT 2
- Re-adding support for ACF PRO HOT 4
- Limit timespan
- Setting a default time using the time only option in ACF HOT 4
- "English (Canada)" WordPress Regional Setting Interpreted as Catala
- Php error (uncaught error calling undefined function) HOT 1
- UI time picker doesn't run? HOT 2
- Save and Get in ISO 8601 Format HOT 1
- Feature request: Bind the "Now" button to the site's timezone setting
- Is this maintained?
- Can't include in plugin HOT 3
- Can't order posts correctly, because saving as timestamp doesn't work!
- Year and month reversed using timestamps HOT 1
- Saving as timestamp doesn't work HOT 2
- Time Picker doesn't show on Front End HOT 1
- How i call the picker in other admin inputs? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acf-field-date-time-picker.