Page 1 of 1
New article bug appears when i try to change date
Posted: Wed Aug 09, 2006 3:29 pm
by iuliandr
Hello,
I have succesfully installed serendipity and its just the thing i was looking for. I have a small problem though. When I post a new entry, if i leave the day to be today's date, everything is just fine. If i want to create a new entry with a date in the future (to be posted lets say 30 days later than the posting date), it all goes berserk. After saving the new entry, i get a random date (random day, random month, random year) and not the date i was saving it as. Is there a way to show the date i want? To be more explicit:
Today, august, 09, 2006 i am creating a new entry with date being august, 30, 2006. After saving, the new entry has the date.. for example may, 26, 2027

Re: New article bug appears when i try to change date
Posted: Wed Aug 09, 2006 3:33 pm
by garvinhicking
Hi!
I suppose you are simply not entering a valid date for the future.
What exactly do you enter in the date input field?
Best regards,
Garvin
Posted: Wed Aug 09, 2006 4:57 pm
by iuliandr
by default when i create new entry, i get the date of today as being this format: 09-08-2006 (day-month-year) so when i modify any field its screwed up
Posted: Wed Aug 09, 2006 4:59 pm
by garvinhicking
What EXACTLY do you enter in the date input field?

Posted: Wed Aug 09, 2006 6:16 pm
by iuliandr
garvinhicking wrote:What EXACTLY do you enter in the date input field?

so i want to make the post date 30-08-2006 or 30-09-2006 and it screws up. Nothing wrong with those dates, isnt it?
I can confirm
Posted: Thu Aug 10, 2006 10:58 am
by Shanga
ON version 1.0, if you try to edit date and change ANYTHING in that field (hour, minute, anything), once you press SAVE the blog generates a very wierd random date, usually 30 years in the future or so... 2035 or whatever...
Bug occurs on editing old posts and on new ones too. (27-01-2015 11:52 was the latest lottery draw i got from that field). I disabled almost every date related plugin and wont fix it.
Any ideas?
I need that field to re-order entries on frontpage... unless you can suggest a better way.
Posted: Thu Aug 10, 2006 2:28 pm
by garvinhicking
Hi iuliandr!
If you enter "30-08-2006" then you are not using the right format. You would need to enter "2006-08-30 12:00" instead, for example.
Shanga, the same applies to you. What did you exactly enter?
[Maybe this problem is language specific. I tested this with version 1.0 using english and german, and in both versions a date like "2006-09-01 11:11" works perfectly fine]
Regerads,
Garvin
Posted: Thu Aug 10, 2006 5:11 pm
by Shanga
Correct... Bug doesn't occur on English version... only on Romanian one, who has a different kind of date display...
Well i guess I'll keep admin in English...no problem...Thanks for help.
Posted: Thu Aug 10, 2006 5:21 pm
by garvinhicking
Hi!
Ah, then it might be that the translator of the bulgarian file made a mistake and changed the Date-Format that is required to be ISO-specific into a bulgarian timestamp.
I'll fix this in the new versions; you can edit your lang/serendipity_lang_ro.php and lang/UTF-8/serendipity_lang_ro.php files and replace the DATE_FORMAT_2 constant from "d-m-Y H:i" to "Y-m-d H:i"
Best regards,
Garvin