aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-02 00:28:46 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-02 00:28:46 +0000
commit11ff91a6ed7ca42336587d1320ea7fa6e23abaaf (patch)
tree2b6e36b63464c40f4605091952d1d252dd7c5bbb /IkiWiki.pm
parent48826f37a5ff9ea9ff9cd5d4dc373472cfbd42af (diff)
downloadikiwiki-11ff91a6ed7ca42336587d1320ea7fa6e23abaaf.tar
ikiwiki-11ff91a6ed7ca42336587d1320ea7fa6e23abaaf.tar.gz
better use gmtime here
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm6
1 files changed, 3 insertions, 3 deletions
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;
} #}}}