[Templates-cvs] cvs commit: Template2/t date.t

cvs@template-toolkit.org cvs@template-toolkit.org
Sun, 03 Aug 2003 20:54:13 +0100


cvs         03/08/03 19:54:13

  Modified:    t        date.t
  Log:
  * applied Axel's patch to fix date test failure
    http://tt2c.org/pipermail/templates/2003-May/004572.html
  
  Revision  Changes    Path
  2.12      +3 -3      Template2/t/date.t
  
  Index: date.t
  ===================================================================
  RCS file: /template-toolkit/Template2/t/date.t,v
  retrieving revision 2.11
  retrieving revision 2.12
  diff -u -r2.11 -r2.12
  --- date.t	2003/04/30 10:39:34	2.11
  +++ date.t	2003/08/03 19:54:13	2.12
  @@ -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.11 2003/04/30 10:39:34 abw Exp $
  +# $Id: date.t,v 2.12 2003/08/03 19:54:13 abw Exp $
   #
   #========================================================================
   
  @@ -191,8 +191,8 @@
   
   -- expect --
   -- process --
  -[% USE date(time='4:20:00 9-13-2000', format='%s');
  -   nowloc(date.format, '%A', 'en_GB') 
  +[% # 4:20:00 9-13-2000 equals 979010400 seconds since the epoch
  +   nowloc(979010400, '%A', 'en_GB')
   %]
   
   -- test --