Page 1 of 1

Strange date after editing POST

Posted: Tue Mar 08, 2005 6:30 pm
by kemo
Hello

I am using version 0.8 beta 2.
When editing an entry, change its date and push the save button, there is very strange date instead.
For example when there is
08-03-2005 00:00
and I want to change it to
07-01-2005 00:00
the date displayed is
27-06-2012 00:00

When I delete the date completely the default today midnight date is inserted automatically there.

Re: Strange date after editing POST

Posted: Wed Mar 09, 2005 10:50 am
by garvinhicking
Which language are you using?

The date on the edit screen should ALWAYS be displayed like this: 2005-03-08 15:10 (YYYY-MM-DD HH:MM), and that's how you should change it into. If you get a different display, there seems to be a bug which I'd like to fix :)

Regards,
Garvin

Posted: Wed Mar 09, 2005 8:16 pm
by kemo
I am using czech language version, both ISO-9952 and windows-1250 behaves the same way

Posted: Thu Mar 10, 2005 5:02 pm
by garvinhicking
Hm, there seems to be an error in your language file. The translator posted a wrong date format. :-(

I fixed this for the upcoming beta3 release. You can edit your language file (lang/serendipity_lang_cz.inc.php). This line:

Code: Select all

@define('DATE_FORMAT_2', 'd-m-Y H:i');
needs to be changed to

Code: Select all

@define('DATE_FORMAT_2', 'Y-m-d H:i');
Thanks,
Garvin