Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1458 closed defect (fixed)

dojo.date.getTimezoneName with tests

Reported by: mde@… Owned by: Adam Peller
Priority: high Milestone:
Component: Date Version: 0.3
Keywords: Cc:
Blocked By: Blocking:

Description

This is mostly just a string-processing function that tries to pull TZ data out of either the toString or toLocaleString method of the Date. If no TZ data is found, it will return empty string. This makes it suitable for use in dojo.date.format (or dojo.date.strftime).

Attachments (2)

dojo_date_common-mde-20060918.patch (2.2 KB) - added by mde@… 13 years ago.
Patch for dojo.date.getTimezoneName
test_date-mde-200600918.patch (2.8 KB) - added by mde@… 13 years ago.
Tests for dojo.date.getTimezoneName

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by mde@…

Patch for dojo.date.getTimezoneName

Changed 13 years ago by mde@…

Tests for dojo.date.getTimezoneName

comment:1 Changed 13 years ago by dylan

Milestone: 0.4

comment:2 Changed 13 years ago by Adam Peller

Resolution: fixed
Status: newclosed

(In [5701]) incorporate timezone changes from Matthew Eernisse (CLA on file). Fixes #1458 fix unit test in test_parse

comment:3 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.