Predloga:Time ago/testniprimeri

ExamplesUredi

Slovenian:

  • {{Time ago| -83 minutes}}82 minutes ago
  • {{Time ago| -334 minutes}}5 hours ago
  • {{Time ago|{{REVISIONTIMESTAMP}}}}8 years ago
  • {{Time ago| Jan 21, 2001 3:45 PM}}20 years ago
  • {{Time ago| Maj 6 2008}}Error: first parameter cannot be parsed as a date or time.
  • {{Time ago| Maj 6 2008|magnitude=weeks}}Error: first parameter cannot be parsed as a date or time.
  • {{Time ago| Maj 6 2008|min_magnitude=days}}Error: first parameter cannot be parsed as a date or time.
  • {{Time ago| Maj 6 2008|min_magnitude=years}}Error: first parameter cannot be parsed as a date or time.
  • {{Time ago| Maj 6 2008|ago=in the past}}Error: first parameter cannot be parsed as a date or time.
  • {{Time ago| Maj 6 2008|purge=yes}}Error: first parameter cannot be parsed as a date or time.

English (we cannot use this here)

  • {{Time ago| -83 minutes}}82 minutes ago
  • {{Time ago| -334 minutes}}5 hours ago
  • {{Time ago|{{REVISIONTIMESTAMP}}}}8 years ago
  • {{Time ago| Jan 21, 2001 3:45 PM}}20 years ago
  • {{Time ago| May 6 2008}}12 years ago
  • {{Time ago| May 6 2008|magnitude=weeks}}671 weeks ago
  • {{Time ago| May 6 2008|min_magnitude=days}}12 years ago
  • {{Time ago| May 6 2008|min_magnitude=years}}12 years ago
  • {{Time ago| May 6 2008|ago=in the past}}12 years in the past
  • {{Time ago| May 6 2008|purge=yes}}12 years ago (purge)

Trailing space testsUredi

Osveži

1 Jan 2012:

  • >pred 9 leti<
  • >9 years ago<sbx

current time:

  • >pred 0 sekundami<
  • >0 seconds ago<sbx

1 Jan 2012, with purge

current time with purge:

Line break test (no purge)

live>pred 0 sekundami pred 0 sekundami pred 0 sekundami pred 0 sekundami pred 0 sekundami pred 0 sekundami pred 0 sekundami pred 0 sekundami pred 0 sekundami pred 0 sekundami pred 0 sekundami pred 0 sekundami<<

sbx>0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge)<<

Line break test (purge can appear at start of line)

live>pred 0 sekundami (osveži) pred 0 sekundami (osveži) pred 0 sekundami (osveži) pred 0 sekundami (osveži) pred 0 sekundami (osveži) pred 0 sekundami (osveži) pred 0 sekundami (osveži) pred 0 sekundami (osveži) pred 0 sekundami (osveži) pred 0 sekundami (osveži) pred 0 sekundami (osveži) pred 0 sekundami (osveži)<<

sbx>0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge) 0 seconds ago (purge)<<

Sandbox testsUredi

  • Normal: 12 years ago
  • Minutes: 6426734 minutes ago
  • Days: 4463 days ago
  • Weeks: 637 weeks ago
  • Months: 143 months ago
  • Future: 327 months' time

ErrorsUredi

  • Bad date: Error: first parameter cannot be parsed as a date or time.
  • Unknown specified magnitude: 385604061 seconds ago
  • No parameters: 0 seconds ago
  • Capitalization: 385604061 seconds ago

min_magnitudeUredi

no seconds minutes hours days months years nonsense
-111 seconds 110 seconds ago 110 seconds ago 1 minute ago 0 hours ago 0 days ago 0 months ago 0 years ago 110 seconds ago
-30 minutes 29 minutes ago 29 minutes ago 29 minutes ago 0 hours ago 0 days ago 0 months ago 0 years ago 29 minutes ago
19. september 2021 14 minutes ago 14 minutes ago 14 minutes ago 0 hours ago 0 days ago 0 months ago 0 years ago 14 minutes ago
-25 hours 24 hours ago 24 hours ago 24 hours ago 24 hours ago 1 day ago 0 months ago 0 years ago 24 hours ago
1 January 2010 11 years ago 11 years ago 11 years ago 11 years ago 11 years ago 11 years ago 11 years ago 11 years ago
17 November 2009 11 years ago 11 years ago 11 years ago 11 years ago 11 years ago 11 years ago 11 years ago 11 years ago
20 May 1988 33 years ago 33 years ago 33 years ago 33 years ago 33 years ago 33 years ago 33 years ago 33 years ago
5 months 4 months' time 4 months' time 4 months' time 4 months' time 4 months' time 4 months' time 0 years' time 4 months' time

Original version testsUredi

Glavni članek: Template:Time_ago.
  • Normal: pred 12 leti
  • Minutes: pred 6426734 minutami
  • Days: pred 4463 dnevi
  • Weeks: pred 637 tedni
  • Months: pred 143 meseci
  • Future: čez 327 mesecev

ErrorsUredi

  • Bad date: Napaka: prvi parameter ne ustreza obliki datuma ali ure.
  • Unknown specified magnitude: pred 385604061 sekundami
  • No parameters: pred 0 sekundami
  • Capitalization: pred 385604061 sekundami

min_magnitudeUredi

no seconds minutes hours days months years nonsense
-111 seconds pred 110 sekundami pred 110 sekundami pred 1 minuto pred 0 urami pred 0 dnevi pred 0 meseci pred 0 leti pred 110 sekundami
-30 minutes pred 29 minutami pred 29 minutami pred 29 minutami pred 0 urami pred 0 dnevi pred 0 meseci pred 0 leti pred 29 minutami
19. september 2021 pred 14 minutami pred 14 minutami pred 14 minutami pred 0 urami pred 0 dnevi pred 0 meseci pred 0 leti pred 14 minutami
-25 hours pred 24 urami pred 24 urami pred 24 urami pred 24 urami pred 1 dnem pred 0 meseci pred 0 leti pred 24 urami
1 January 2010 pred 11 leti pred 11 leti pred 11 leti pred 11 leti pred 11 leti pred 11 leti pred 11 leti pred 11 leti
17 November 2009 pred 11 leti pred 11 leti pred 11 leti pred 11 leti pred 11 leti pred 11 leti pred 11 leti pred 11 leti
20 May 1988 pred 33 leti pred 33 leti pred 33 leti pred 33 leti pred 33 leti pred 33 leti pred 33 leti pred 33 leti
5 months čez 4 mesece čez 4 mesece čez 4 mesece čez 4 mesece čez 4 mesece čez 4 mesece čez 0 let čez 4 mesece

Now works in the futureUredi

  • Original: čez 35 let
  • Peskovnik: 35 years' time