Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#17085 closed defect (fixed)

dojo/date cannot parse Hebrew date patterns containing EEEE

Reported by: Douglas Hays Owned by: Douglas Hays
Priority: undecided Milestone: 1.9.1
Component: Date Version: 1.9.0rc2
Keywords: Cc:
Blocked By: Blocking:

Description

dojo.date.locale.parse(dojo.date.locale.format(new Date(), {locale:'he', formatLength:'full', selector:'date'}), {locale:'he', formatLength:'full', selector:'date'})

returns null. The problem is that the substituted text for EEEE contains a space which dojo/date/parse hardcodes as a field delimiter.

Attachments (1)

17085.patch (1015 bytes) - added by Douglas Hays 6 years ago.
fix

Download all attachments as: .zip

Change History (4)

comment:1 Changed 6 years ago by Douglas Hays

Milestone: tbd1.9.1
Owner: changed from Adam Peller to Douglas Hays
Status: newassigned

Changed 6 years ago by Douglas Hays

Attachment: 17085.patch added

fix

comment:2 Changed 6 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

In [31415]:

Fixes #17085. Change weekday label regexp from \S+ to .+? so that embedded spaces can be matched (Hebrew). Add automated test. !strict

comment:3 Changed 6 years ago by Douglas Hays <doughays@…>

In 2ebc4677ce0de3080865567b3650a95487bf5df1/dojo:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 
Note: See TracTickets for help on using tickets.