Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#974 closed defect (fixed)

Edit milestone date field incorrectly documented as requiring 2 digit year

Reported by: div@… Owned by: Christopher Lenz
Priority: normal Milestone: 0.8.1
Component: roadmap Version: 0.8
Severity: minor Keywords: date milestone
Cc: manuzhai@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Date field says: Format: MM/DD/YY

but this gives:

Invalid Date Format

12/24/04 is not a known date format.

4-digit year is accepted. Suggest change the format hint string.

Attachments (0)

Change History (9)

comment:1 by Christopher Lenz, 19 years ago

Component: generalroadmap
Owner: changed from Jonas Borgström to Christopher Lenz
Status: newassigned

comment:2 by Christopher Lenz, 19 years ago

Milestone: 0.8.1

What locale are you using?

comment:3 by Claude, 19 years ago

I have a similar problem but nothing will work. It does not accept any of

  • 01/31/05
  • 01/31/2005
  • 31/01/05
  • 31/01/2005

Which locale are you asking about? The client computer, the browser, the server, or another one I do not know about?

comment:4 by Manuzhai, 19 years ago

He's probably talking about the locale referenced in TracFaq, question 1.8.

For me, 'Jan 25, 2005' worked.

comment:5 by Claude, 19 years ago

Ok, that was it. 2004-01-31 worked for me. I did not figure out where this setting is nor where Trac pics up the format it suggests to use.

comment:6 by anonymous, 19 years ago

Cc: manuzhai@… added

comment:7 by Christopher Lenz, 19 years ago

The format suggested by the form is hard-coded, which is obviously wrong (well, it's obvious now…)

We should instead somehow generate the hint taking the server locale into account.

comment:8 by Manuzhai, 19 years ago

Well, I'm not sure this whole locale thing is the best way to go forward.

It would be much more straightforward if there was like a simple config setting. Especially since Trac isn't really multi-language anyway, so it wouldn't make sense to have these language-specific date thingies. You'd still want some customization (for the stupid Americans with their mm/dd thingie), but maybe not too much.

comment:9 by Christopher Lenz, 19 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [1137], ported to stable in [1138].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz 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.