Opened 6 years ago
Closed 5 years ago
#1484188 closed Bugs (fixed)
Months not defined in localization files
| Reported by: | codeman38 | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.2-alpha |
| Component: | Client Scripts | Version: | git-master |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In the labels.inc files included with the various localizations, the days of the week are defined as localized labels, but the months of the year are not.
In my own configuration, I use the spelled-out months ('F' and 'M' in PHP's date format) so as to avoid any confusion arising from international differences in date formats. (i.e., is 07/04 the fourth of July or the seventh of April?)-- particularly an issue since the date format remains the same regardless of the localization used.
Without at least defining $labels for the months of the year in en-US/labels.inc, the resulting dates look like "25-[dec]-2006" or "25 [december] 2006", which, to be honest, looks a bit ugly with those brackets.
Attachments (1)
Change History (6)
comment:1 Changed 6 years ago by codeman38
comment:3 Changed 5 years ago by thomasb
Here's an alternative (with patch): #1484806
comment:4 Changed 5 years ago by mikelward
This is still present in 0.1. Please apply my patch when you can.
comment:5 Changed 5 years ago by alec
- Milestone changed from 0.1.5 to 0.1.2
- Resolution set to fixed
- Status changed from new to closed
Fixed in [6051e6c1]

(And by "en-US", I meant "en_US". I seem to have a habit of getting hyphens and underscores mixed up...)