Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#5292 closed defect (worksforme)

Trac GUI does not accept 4 digit year in date

Reported by: bob_binder@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.10.3.1
Severity: normal Keywords: needinfo
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Trac interface does not accept a 4 digit year when setting a date. This means Trac is not Y2K compliant — it should accept/require four digit years in dates. This is also the ANSI ISO standard for dates.

Attachments (0)

Change History (7)

comment:1 by Emmanuel Blot, 18 years ago

Keywords: needinfo added

Can you provide more details:

  • which version of Trac you are using
  • where did you try to define a date in Trac
  • which locale is used on your server
  • an example of a date value that is rejected

Thanks.

comment:2 by bob_binder@…, 18 years ago

Trac 0.10.3.1

Add milestone

Locale — don't know

See screen shots

comment:3 by Emmanuel Blot, 18 years ago

Version: 0.10.3.1

Locale: this is a very important piece of information, as the format of the date strongly depends on the locale.

(btw, there is a version field in Trac ticket; please fill it if you submit another ticket)

comment:4 by anonymous, 18 years ago

If you don't know your locale, then you are probably using the default one for your system. See wiki:TracFaq#how-do-i-change-the-format-used-for-displaying-date-and-time for how to change it to one that takes a four-digit year.

comment:5 by costi@…, 18 years ago

Resolution: fixed
Status: newclosed

Adding this line PythonOption TracLocale "en_US.UTF-8" the <Location> context of apache config fixed it.

comment:6 by Emmanuel Blot, 18 years ago

Resolution: fixed
Status: closedreopened

comment:7 by Emmanuel Blot, 18 years ago

Resolution: worksforme
Status: reopenedclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.