Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

Strange date/time behavior

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


cdokolas at gmail

Apr 24, 2008, 12:03 AM

Post #1 of 5 (145 views)
Permalink
Strange date/time behavior

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 ìì")

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).

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.

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
-~----------~----~----~----~------~----~------~--~---


cdokolas at gmail

Apr 24, 2008, 12:06 AM

Post #2 of 5 (137 views)
Permalink
Re: Strange date/time behavior [In reply to]

Oops! Forgot to mention Track 0.11b2

Doc

P.S. I have somewhere a 0.10 installation; I'll see if it has the same
behavior...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---


mjh-lists-trac-users at liminalflux

Apr 24, 2008, 6:52 AM

Post #3 of 5 (131 views)
Permalink
Re: Strange date/time behavior [In reply to]

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?

> 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.

> 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?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---


cdokolas at gmail

Apr 25, 2008, 12:35 AM

Post #4 of 5 (128 views)
Permalink
Re: Strange date/time behavior [In reply to]

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
-~----------~----~----~----~------~----~------~--~---


cdokolas at gmail

May 11, 2008, 7:33 AM

Post #5 of 5 (86 views)
Permalink
Re: Strange date/time behavior [In reply to]

OK, no one in the list seems to take further interest in this problem.
I'm going to open a bug hoping that a fix will make the release.

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
-~----------~----~----~----~------~----~------~--~---

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.