summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2014-09-20 13:55:25 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2014-09-20 13:55:25 -0400
commit745a1e34ec9067a8c807971b01d65c350f8e5286 (patch)
tree5ced1f7db6e337204ab34d54dc653437ef53af38 /tests
parent4e2c3a1424a9b8f242953cd74c47bf641e84504d (diff)
Default to parsing time strings with the application-configured format
Diffstat (limited to 'tests')
-rw-r--r--tests/timeRoundTrip.ur3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/timeRoundTrip.ur b/tests/timeRoundTrip.ur
new file mode 100644
index 00000000..d20e61e8
--- /dev/null
+++ b/tests/timeRoundTrip.ur
@@ -0,0 +1,3 @@
+fun main () : transaction page =
+ t <- now;
+ return <xml>{[readError (show t) : time]}</xml>