Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* fixed bug in Monday/Tuesday/Wednesday test

git-svn-id: svn://svn.tt2.org/tt/Template2/trunk@767 d5a88997-0a34-4036-9ed2-92fb5d660d91
  • Loading branch information...
commit 3b64ab53d8757472789d45f272997ce7d88eb114 1 parent 026fc4c
@abw authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 t/date.t
View
7 t/date.t
@@ -186,13 +186,14 @@ In French, today's day is: [% nowloc(time, '%A', 'fr_FR') +%]
04
-- test --
+-- name September 13th 2000 --
[% USE day = date(format => '%A', locale => 'en_GB') %]
-[% day.format('4:20:00 9-13-2000') %]
+[% day.format('4:20:00 13-9-2000') %]
-- expect --
-- process --
-[% # 4:20:00 9-13-2000 equals 979010400 seconds since the epoch
- nowloc(979010400, '%A', 'en_GB')
+[% # 4:20:00 9-13-2000 equals 968818800 seconds since the epoch
+ nowloc(968818800, '%A', 'en_GB')
%]
-- test --
Please sign in to comment.
Something went wrong with that request. Please try again.