We're updating the issue view to help you get more done. 

RFE: use MessageFormat for GMT format

Description

Idea from Alan Liu in email from 2003-jul-21


If we do try to implement a more localizable generic GMT format, rather than
create a new formatter, we could leverage our existing formatters by using a
MessageFormat with two NumberFormat subformats, e.g.:

"GMT{0,number,0;-0}:{1,number,00}" for GMT[-]h:mm
"GMT{0,number,00;-00}{1,number,00}" for GMT[-]hhmm
"UTC{0,number,0;-0} for UTC[-]h

Any missing subformat (as in the last example) are parsed as zero. The two
subformats are for hours {0} and minutes {1}.

Status

Assignee

Douglas Felt

Reporter

TracBot

Labels

Reviewer

None

Time Needed

Days

Start date

None

Components

Priority

trivial