Tk Library Source Code

Artifact [d851d86d12]
Login

Artifact d851d86d1262d387063d761cf9cf0d006172f3de:

Attachment "iso8601.test.diff" to ticket [3603702fff] added by gahr 2013-02-07 20:01:12.
--- modules/clock/iso8601.test.orig	2013-02-07 13:56:17.000000000 +0100
+++ modules/clock/iso8601.test	2013-02-07 13:58:07.000000000 +0100
@@ -40,9 +40,9 @@
 } -returnCodes error -result {not an iso8601 date string}
 
 test clock-iso8601-2.1 {parse_date} -body {
-    clock::iso8601 parse_date 1994-11-05
+    clock format [clock::iso8601 parse_date 1994-11-05] -format {%D}
     # It is unclear if this is influenced by TZ.
-} -result 784022400
+} -result {11/05/1994}
 
 # -------------------------------------------------------------------------