Opened 13 years ago

Closed 13 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 13 years ago by psowden

Priority: normallow
Summary: Replace dojo.date.to* methods with a single strftime functionimplement dojo.text.DateFormat

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.

comment:2 Changed 13 years ago by Tom Trenka

Resolution: fixed
Status: newclosed

Paul fixed this a while ago by implementing dojo.date.format/dojo.date.strftime.

Note: See TracTickets for help on using tickets.