
cdokolas at gmail
Apr 25, 2008, 12:35 AM
Post #4 of 5
(130 views)
Permalink
|
2008/4/24 Malcolm <mjh-lists-trac-users[at]liminalflux.net>: > On Thursday 24 April 2008 03:03:37 Doc wrote: > > > My server's regional settings (WinXP Pro machine) are set to Greek/ > > Greece. I'm experiencing problems with date and date/time fields. All > > date/time fields I've managed to try refuse to accept time giving the > > following error: > > > > "14/4/2008 12:00:00 μμ" is an invalid date, or the date format is not > > known. Try "DD/MM/YYYY" instead. > > ("μμ" is Greek for "pm", and the page specifically said "Format: DD/MM/ > > YYYY hh:mm:ss μμ") > > I'm guessing it does not parse the μμ correctly. You could either using the 24 > hour clock (eg. 1pm is 13:00) or using the english for "pm" if that's an > option. Does either "14/4/2008 13:00:00" or "14/4/2008 1:00:00 pm" work? It doesn't parse the time at all, in any format! > > This specific error was from the version management page. If I only > > specify the date, "14/4/2008" gets changed to "13/4/2008 9:00:00 > > μμ" (13/4/2008 9:00:00 pm in the English-speking world). > > That's a timezone issue. "14/4/2008" is "14/4/2008 00:00" (ie. midnight). So > that's getting parsed as "13/4/2008 9:00:00 pm" GMT but then displayed in GMT > rather than your local timezone. That might be a configuration issue on your > server or trac. I'm not sure it's a timezone issue. I am GMT+2 hours, and the input box appears with my the correct local time preset. Maybe it's internally stored in UTC, so it's +1 more hour for daylight savings? > > Something similar must happen with date-only fields. Changing the due > > date for a milestone changes it to the previous date. > > > > So: > > 1. Date/time fields don't accept a time part > > 2. Dates are reduced by 3 hours > > > > Note: changing the timezone preference for my login doesn't affect > > this behavior. > > Which release of trac are you running? I did mention 0.11b2 in a follow-up Doc --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users[at]googlegroups.com To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
|