From: joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Date: Wed, 2 Aug 2006 00:28:46 +0000 (+0000)
Subject: better use gmtime here
X-Git-Tag: 1.13~4
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/11ff91a6ed7ca42336587d1320ea7fa6e23abaaf?ds=inline

better use gmtime here
---

diff --git a/IkiWiki.pm b/IkiWiki.pm
index 7ead13cf6..991ff9ecb 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -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;
 } #}}}