h4r4ld Posted December 11, 2015 Posted December 11, 2015 Hi, I've got some datetime fields on my template and if I try to fill them with just a date and no time they save a wrong year. I tried to save the date like 2015-12-11 and it saves 5600-12-11 or different random years, also the datetime field sometimes isn't saved at all. I verified this by trying to save this fields by adminbackend, same result. Are there any threads/known problems to this topic?
LostKobrakai Posted December 11, 2015 Posted December 11, 2015 Which format(s) did you setup for the field to use? Could you check if the dates are also saved wrongly in the db (table field_FIELDNAME)?
justb3a Posted December 11, 2015 Posted December 11, 2015 maybe this topic is related: This was wrong $dateFormattedDatum = strftime("%d.%m.%G", $date); this does it correct: $dateFormattedDatum = strftime("%d.%m.%Y", $date);
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