#974 closed defect (fixed)
Edit milestone date field incorrectly documented as requiring 2 digit year
Reported by: | 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 , 20 years ago
Component: | general → roadmap |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 20 years ago
Milestone: | → 0.8.1 |
---|
comment:3 by , 20 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 , 20 years ago
He's probably talking about the locale referenced in TracFaq, question 1.8.
For me, 'Jan 25, 2005' worked.
comment:5 by , 20 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 , 20 years ago
Cc: | added |
---|
comment:7 by , 20 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 , 20 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 , 20 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
What locale are you using?