[Templates-cvs] cvs commit: Template2/t date.t document.t
cvs@template-toolkit.org
cvs@template-toolkit.org
Mon, 12 Jan 2004 11:55:22 +0000
cvs 04/01/12 11:55:20
Modified: t date.t document.t
Log:
prep for version 2.12
Revision Changes Path
2.14 +3 -1 Template2/t/date.t
Index: date.t
===================================================================
RCS file: /template-toolkit/Template2/t/date.t,v
retrieving revision 2.13
retrieving revision 2.14
diff -u -r2.13 -r2.14
--- date.t 2004/01/06 18:47:03 2.13
+++ date.t 2004/01/12 11:55:20 2.14
@@ -11,7 +11,7 @@
# This is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
#
-# $Id: date.t,v 2.13 2004/01/06 18:47:03 abw Exp $
+# $Id: date.t,v 2.14 2004/01/12 11:55:20 abw Exp $
#
#========================================================================
@@ -190,11 +190,13 @@
[% USE day = date(format => '%A', locale => 'en_GB') %]
[% day.format('4:20:00 13-9-2000') %]
+
-- expect --
-- process --
[% # 4:20:00 9-13-2000 equals 968818800 seconds since the epoch
nowloc(968818800, '%A', 'en_GB')
%]
+
-- test --
[% TRY %]
2.2 +1 -2 Template2/t/document.t
Index: document.t
===================================================================
RCS file: /template-toolkit/Template2/t/document.t,v
retrieving revision 2.1
retrieving revision 2.2
diff -u -r2.1 -r2.2
--- document.t 2000/09/12 15:25:23 2.1
+++ document.t 2004/01/12 11:55:20 2.2
@@ -12,7 +12,7 @@
# This is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
#
-# $Id: document.t,v 2.1 2000/09/12 15:25:23 abw Exp $
+# $Id: document.t,v 2.2 2004/01/12 11:55:20 abw Exp $
#
#========================================================================
@@ -139,5 +139,4 @@
[% INCLUDE $mydoc %]
-- expect --
some output
-