freebsd-ports/devel/tcllib/files/patch-bug-3603702
Pietro Cerutti f7cfec32a6 - Update to 1.15
Release notes: http://code.activestate.com/lists/tcl-core/13030/
- Simplify regression-test target
- Include some patches that were pushed upstream after 1.15 was released
2013-04-24 10:12:03 +00:00

36 lines
1.2 KiB
Text

Index: modules/clock/ChangeLog
==================================================================
--- modules/clock/ChangeLog
+++ modules/clock/ChangeLog
@@ -1,5 +1,9 @@
+2013-02-08 Andreas Kupries <andreask@activestate.com>
+
+ * iso8601.test: [Bug 3603702]: Fixed TZ-dependent test case.
+
2013-02-01 Andreas Kupries <andreas_kupries@users.sourceforge.net>
*
* Released and tagged Tcllib 1.15 ========================
*
Index: modules/clock/iso8601.test
==================================================================
--- modules/clock/iso8601.test
+++ modules/clock/iso8601.test
@@ -38,13 +38,12 @@
test clock-iso8601-2.0 {parse_date, bad input} -body {
clock::iso8601 parse_date A
} -returnCodes error -result {not an iso8601 date string}
test clock-iso8601-2.1 {parse_date} -body {
- clock::iso8601 parse_date 1994-11-05
- # It is unclear if this is influenced by TZ.
-} -result 784022400
+ clock format [clock::iso8601 parse_date 1994-11-05] -format %D
+} -result 11/05/1994
# -------------------------------------------------------------------------
test clock-iso8601-2.0.0 {parse_date, format: 19700102, reformatted with clock format -format {%D}} -body {
clock format [clock::iso8601 parse_date {19700102}] -format {%D}