projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
48826f3
)
better use gmtime here
author
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 2 Aug 2006 00:28:46 +0000
(
00:28
+0000)
committer
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 2 Aug 2006 00:28:46 +0000
(
00:28
+0000)
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index 7ead13cf66e054fc54b9efd30929a8155c69b010..991ff9ecbe14c6456c90bb490704c347a58ed286 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-597,15
+597,15
@@
sub match_backlink ($$) { #{{{
} #}}}
sub match_creation_day ($$) { #{{{
} #}}}
sub match_creation_day ($$) { #{{{
- return if (
local
time($pagectime{shift()}))[3] == shift;
+ return if (
gm
time($pagectime{shift()}))[3] == shift;
} #}}}
sub match_creation_month ($$) { #{{{
} #}}}
sub match_creation_month ($$) { #{{{
- return if (
local
time($pagectime{shift()}))[4] + 1 == shift;
+ return if (
gm
time($pagectime{shift()}))[4] + 1 == shift;
} #}}}
sub match_creation_year ($$) { #{{{
} #}}}
sub match_creation_year ($$) { #{{{
- return if (
local
time($pagectime{shift()}))[5] + 1900 == shift;
+ return if (
gm
time($pagectime{shift()}))[5] + 1900 == shift;
} #}}}
} #}}}