Difference between revisions of "Template:OutageCounter"
Jump to navigation
Jump to search
(Reset the counter, because the simplistic math doesn't account for year change. Better to be slightly wrong than completely wrong =)) |
(Finally replaced the whole thing with a version that should work over new years.) |
||
Line 1: | Line 1: | ||
{{#expr: (- | {{#expr: (-1262392358 +{{#time:U}})/86400 round 0}} days without an outage!<noinclude> | ||
== How to update == | |||
# Copy the current time stamp off this fine template page: '''{{#time:U}}''' | |||
# Hit edit. | |||
# Look at the mysterious code that's at the top of the page that looks like this:<br/><nowiki>{{#expr: (-XXXXX +{{#time:U}})/86400 round 0}}</nowiki> | |||
# Replace the current number at XXXXX with the new time stamp. Leave the minus sign in! | |||
# Save. | |||
By [[User:Ror|Ror]] and [[User:Wwwwolf|wwwwolf]]. | |||
[[Category:Front page templates]]</noinclude> | [[Category:Front page templates]]</noinclude> |
Revision as of 19:46, 1 January 2010
5438 days without an outage!
How to update
- Copy the current time stamp off this fine template page: 1732222670
- Hit edit.
- Look at the mysterious code that's at the top of the page that looks like this:
{{#expr: (-XXXXX +{{#time:U}})/86400 round 0}} - Replace the current number at XXXXX with the new time stamp. Leave the minus sign in!
- Save.