better use gmtime here

master
joey 2006-08-02 00:28:46 +00:00
parent 48826f37a5
commit 11ff91a6ed
1 changed files with 3 additions and 3 deletions

View 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;
} #}}}