]> sipb.mit.edu Git - ikiwiki.git/commitdiff
better use gmtime here
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 2 Aug 2006 00:28:46 +0000 (00:28 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 2 Aug 2006 00:28:46 +0000 (00:28 +0000)
IkiWiki.pm

index 7ead13cf66e054fc54b9efd30929a8155c69b010..991ff9ecbe14c6456c90bb490704c347a58ed286 100644 (file)
@@ -597,15 +597,15 @@ sub match_backlink ($$) { #{{{
 } #}}}
 
 sub match_creation_day ($$) { #{{{
-       return if (localtime($pagectime{shift()}))[3] == shift;
+       return if (gmtime($pagectime{shift()}))[3] == shift;
 } #}}}
 
 sub match_creation_month ($$) { #{{{
-       return if (localtime($pagectime{shift()}))[4] + 1 == shift;
+       return if (gmtime($pagectime{shift()}))[4] + 1 == shift;
 } #}}}
 
 sub match_creation_year ($$) { #{{{
-       return if (localtime($pagectime{shift()}))[5] + 1900 == shift;
+       return if (gmtime($pagectime{shift()}))[5] + 1900 == shift;
 } #}}}