about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2019-03-27 17:44:51 -0400
committerDJ Delorie <dj@redhat.com>2019-04-01 14:19:16 -0400
commite0e4c321c3145b6ac0e8f6e894f87790cf9437ce (patch)
tree097f4b5ebbd34f57a945f24e6182b96d104b3165 /ChangeLog
parent993e3107af67edefcfc79a62ae55f7b98aa5151e (diff)
downloadglibc-e0e4c321c3145b6ac0e8f6e894f87790cf9437ce.tar.gz
glibc-e0e4c321c3145b6ac0e8f6e894f87790cf9437ce.tar.xz
glibc-e0e4c321c3145b6ac0e8f6e894f87790cf9437ce.zip
Fix strptime era handling, add more strftime tests [BZ #24394]
Test the transition points between all the currently listed Japanese
era name changes. This includes testing the transition between the
first year date and the second year date. This test will help test
the upcoming Japanese era name change.

Also fixes a fencepost error where the era name isn't properly parsed
by strptime in the last (partial) year of the era.

Example: if an era change happens in Feb 1990, and again in Aug 1995,
that's 5.5 years long, but the 0.5 year wasn't accounted for.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a514308225..78249c8da8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2019-04-01  DJ Delorie  <dj@redhat.com>
+
+	[BZ #24394]
+	* time/strptime_l.c (%Ey): Fix fencepost error.
+	* time/tst-strftime3.c: New.
+	* time/Makefile (tests): Add tst-strftime3.
+
 2019-04-01  Uros Bizjak <ubizjak@gmail.com>
 
 	* sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after