ThreeTen / threeten

This project was the home of code used to develop a modern date and time library for JDK8. Development has moved to OpenJDK and a separate backport project, threetenbp.
http://threeten.github.io/
191 stars 37 forks source link

Pattern letters 'w' and 'W' swapped #284

Closed RogerRiggs closed 11 years ago

RogerRiggs commented 11 years ago

According to UTS#35 'w' and 'W" are swapped in the DateTimeFormatterBuilder.WeekBasedFieldPrinterParser and the corresponding tests.

week    w   1..2    27  Week of Year.
        W   1       3   Week of Month
jodastephen commented 11 years ago

Fixed by http://hg.openjdk.java.net/threeten/threeten/jdk/rev/7e8235e9c684