Template:Time ago: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Happy-melon overhaul |
meta>Happy-melon fix |
||
| Line 1: | Line 1: | ||
{{#switch: <!--WHAT 'ORDER OF MAGNITUDE' IS THE OFFSET?--> | {{#switch: | ||
{{#expr: <!--WHAT 'ORDER OF MAGNITUDE' IS THE OFFSET?--> | |||
{{#ifexpr: abs( {{#time:U}} - {{#time:U| {{{1|}}} }} ) / 60 round 0 | 1 | 0 }}+ | |||
{{#ifexpr: abs( {{#time:U}} - {{#time:U| {{{1|}}} }} ) / 3600 round 0 | 1 | 0 }}+ | |||
{{#ifexpr: abs( {{#time:U}} - {{#time:U| {{{1|}}} }} ) / 86400 round 0 | 1 | 0 }}+ | |||
{{#ifexpr: abs( {{#time:U}} - {{#time:U| {{{1|}}} }} ) / 2678400 round 0 | 1 | 0 }}+ | |||
}} | |||
| 0 <!--LESS THAN A MINUTE--> = {{#expr: abs( {{#time:U}} - {{#time:U| {{{1|}}} }} ) }} seconds | | 0 <!--LESS THAN A MINUTE--> = {{#expr: abs( {{#time:U}} - {{#time:U| {{{1|}}} }} ) }} seconds | ||
| 1 <!--LESS THAN AN HOUR--> = {{#expr: abs( {{#time:U}} - {{#time:U| {{{1|}}} }} ) }} minutes | | 1 <!--LESS THAN AN HOUR--> = {{#expr: abs( {{#time:U}} - {{#time:U| {{{1|}}} }} ) }} minutes | ||
Revision as of 17:39, 19 April 2009
' time
Lua error in package.lua at line 80: module 'Module:Documentation/config' not found.