Jump to content

Recommended Posts

Posted

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?

Posted

maybe this topic is related:

This was wrong $dateFormattedDatum = strftime("%d.%m.%G", $date);

this does it correct: $dateFormattedDatum = strftime("%d.%m.%Y", $date);

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...