Opened 15 years ago
Closed 15 years ago
#295 closed defect (fixed)
implement dojo.text.DateFormat
Reported by: | psowden | Owned by: | psowden |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | General | Version: | 0.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Replace the multiple dojo.date.to* functions with a single strftime function, especially the toMilitaryTimeString method.
It shouldn't be nessecary for dojo to provide numerous different "helper" methods in this arena, a strftime implementation allows the author more freedom with less lines of code on our part.
Assigning to self, just recording it here.
Change History (2)
comment:1 Changed 15 years ago by
Priority: | normal → low |
---|---|
Summary: | Replace dojo.date.to* methods with a single strftime function → implement dojo.text.DateFormat |
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Paul fixed this a while ago by implementing dojo.date.format/dojo.date.strftime.
Note: See
TracTickets for help on using
tickets.
dojo.date.strftime has now been implemented and a couple of the to* methods have been deprecated.
As proposed on the developer list it may be handy to have some dojo.text.DateFormat? objects for different syntaxes. Changing the title and priority to reflect.