Simon Quigley pushed to branch debian/latest at Debian Java Maintainers / 
strftime4j


Commits:
3a9d5a85 by Juan Manuel Méndez Rey at 2026-10-28T14:22:32+01:00
d/copyright: note the Ruby strftime doc lines quoted in spec.rb

- - - - -
faebde07 by Juan Manuel Méndez Rey at 2026-10-28T15:40:39+01:00
Fix the EET test outside summer time (FTBFS since 2026-10-25)

- - - - -
2419bcfd by Simon Quigley at 2026-10-28T11:39:13-05:00
Upload to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/copyright
- + debian/patches/eet-standard-time-name.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-strftime4j (1.0.6-1) UNRELEASED; urgency=medium
+strftime4j (1.0.6-1) unstable; urgency=medium
 
   * Initial release. (Closes: #1149768)
 


=====================================
debian/copyright
=====================================
@@ -9,9 +9,9 @@ License: Expat
 Comment:
  The source files carry no headers; LICENSE (MIT, "Copyright (c) 2021
  Vasyl Khrystyuk") covers the project. pom.xml spells the author's name
- "Vasyl Khrystiuk" (inceptionYear 2021). spec.rb is upstream's own Ruby
- script that checks the expected strftime results against Ruby's
- Time#strftime; it contains no Ruby code.
+ "Vasyl Khrystiuk" (inceptionYear 2021). spec.rb and a few code comments
+ quote Ruby's one-line strftime flag descriptions (time.c); no Ruby code
+ is copied.
 
 Files: debian/*
 Copyright: 2026, Juan Manuel Méndez Rey <[email protected]>


=====================================
debian/patches/eet-standard-time-name.patch
=====================================
@@ -0,0 +1,23 @@
+Description: Accept the CLDR name for EET standard time
+ The test expects "Eastern European Time" outside summer time, but JDK 9+
+ prints "Eastern European Standard Time", so the build fails from late
+ October to late March.
+Author: Juan Manuel Méndez Rey <[email protected]>
+Forwarded: no
+Last-Update: 2026-10-28
+
+diff --git a/src/test/java/ua/co/k/strftime/StrftimeFormatterTest.java 
b/src/test/java/ua/co/k/strftime/StrftimeFormatterTest.java
+index 8a723e3..556fdba 100644
+--- a/src/test/java/ua/co/k/strftime/StrftimeFormatterTest.java
++++ b/src/test/java/ua/co/k/strftime/StrftimeFormatterTest.java
+@@ -323,7 +323,9 @@ public class StrftimeFormatterTest {
+         if (TimeZone.getTimeZone("EET").inDaylightTime( new Date() )) {
+             assertEquals("Eastern European Summer Time", res);
+         } else {
+-            assertEquals("Eastern European Time", res);
++            // JDK 9+ (CLDR) uses the "Standard" form of the name
++            Assert.assertTrue(res, res.equals("Eastern European Time")
++                    || res.equals("Eastern European Standard Time"));
+         }
+ 
+         res = ofStrictPattern("%Z").withZoneIdResolver(new ZoneIdResolver() {


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 no-jacoco-argline.patch
+eet-standard-time-name.patch



View it on GitLab: 
https://salsa.debian.org/java-team/strftime4j/-/compare/8d8f030a80f3d3cf58a9c38835e3f9e20ad83472...2419bcfd939b8f2e31839b356d8fb4abfff53506

-- 
View it on GitLab: 
https://salsa.debian.org/java-team/strftime4j/-/compare/8d8f030a80f3d3cf58a9c38835e3f9e20ad83472...2419bcfd939b8f2e31839b356d8fb4abfff53506
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


_______________________________________________
pkg-java-commits mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to