flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34316) Z changed from literal to pattern letter for "GMT"
Date Sun, 11 May 2014 17:06:14 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13994607#comment-13994607
] 

Justin Mclean commented on FLEX-34316:
--------------------------------------

Z was added to support timezones and fix several existing outstanding bugs. See FLEX-1064,
FLEX-13233, FLEX-14596. Out of interest why do you have a Z in the format string?

Not that the documentation states:
You can add other text into the pattern string to further  format the string. You can use
punctuation, numbers, and all lowercase letters. You should avoid uppercase letters because
they may be interpreted as pattern letters.

> Z changed from literal to pattern letter for "GMT"
> --------------------------------------------------
>
>                 Key: FLEX-34316
>                 URL: https://issues.apache.org/jira/browse/FLEX-34316
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Formatters
>    Affects Versions: Apache Flex 4.12.0
>            Reporter: Jeff Spicer
>            Assignee: Justin Mclean
>            Priority: Minor
>
> when using the letter Z in a dateFormatter formatString, it's interpreted in SDK 4.12
to mean the literal string "GMT".
> in SDK 4.6, it's interpreted to mean a literal "Z".
> This messes with legacy dates that are using the literal letter Z.
> formatters saving dates to a server as formatString="YYYY-MM-DD JJ:NN:SSZ" are going
to now save them with a "GMT" on the end, instead of "Z"
> I suggest letting both "Z" and "GMT" be literal strings, and wherever possible, don't
break previous versions of the sdk



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message