ICU-5931 shortened note on date/time parsing, pointed to user guide.
X-SVN-Rev: 22669
This commit is contained in:
parent
7c866152cd
commit
8d8b83f35b
@ -222,20 +222,8 @@
|
||||
|
||||
<p>In ICU 3.8, the behavior of date formatting and parsing has changed
|
||||
significantly, perhaps requiring recoding on your part depending on your
|
||||
usage. The goal of making the change was to return more understandable
|
||||
results from formatting timezones, but a byproduct is that the result from
|
||||
formatting with strings z, zzzz, v or vvvv are no longer unique, and thus no
|
||||
longer roundtrips. That is, if you use a date format with one of these
|
||||
strings, producing a certain output, you can no longer parse that output
|
||||
and expect to recover the original timezone.</p>
|
||||
|
||||
<p>What you will be able to get is a related, "best fit" mapping for the
|
||||
name, based on the region associated with the current locale and the
|
||||
mappings found in CLDR's supplemental data. For example, for example, if
|
||||
you format the time zone "America/Denver", getting "Heure des Rocheuses"
|
||||
in French, and then parse, the resulting time zone would be "America/Denver"
|
||||
unless the locale in use has the region "CA" (such as en-CA or fr-CA), in
|
||||
which case "America/Edmonton" would be retrieved.</p>
|
||||
usage. For more information, see <a href="http://icu-project.org/userguide/formatDateTime.html">
|
||||
Formatting Dates and Times</a> in the User Guide.</p>
|
||||
|
||||
<h2><a name="Download" href="#Download" id="Download">How To Download the
|
||||
Source Code</a></h2>
|
||||
|
Loading…
Reference in New Issue
Block a user