Wikipedia:Lua/Modul/DateTime/Test/create

aus Wikipedia, der freien Enzyklopädie
Zur Navigation springen Zur Suche springen
Vorlagenprogrammierung Diskussionen Lua Test Unterseiten
Modul Deutsch English

Modul: Dokumentation

Testfälle zum Modul:DateTime: Interpretation von Eingaben

fetcher()

item expect got diff
lang de de


now

item expect got diff
lang de de
year 2024 2024
month 11 11
dom 21 21
hour 7 7
min 37 37
sec 4 4
zone 100 100


333 v.u.Z.

item expect got diff
lang de de
bc true true
year 333 333


53 B.C.

item expect got diff
lang de de
bc true true
year 53 53


item expect got diff
lang de de
bc false false
year 7 7


7

item expect got diff
lang de de
year 7 7


item expect got diff
lang de de
bc false false
year 1237 1237


1234

item expect got diff
lang de de
year 1234 1234


1999 n.Chr.

item expect got diff
lang de de
bc false false
year 1999 1999


1. Mai

item expect got diff
lang de de
month 5 5
dom 1 1
dom2 false false


1. Mai 2013

item expect got diff
lang de de
year 2013 2013
month 5 5
dom 1 1
dom2 false false


Mai 2013

item expect got diff
lang de de
year 2013 2013
month 5 5


2013-05

item expect got diff
lang de de
year 2013 2013
month 5 5
month2 true true


29. Februar 2012

item expect got diff
lang de de
year 2012 2012
month 2 2
dom 29 29
dom2 true true


29. Februar 2000

item expect got diff
lang de de
year 2000 2000
month 2 2
dom 29 29
dom2 true true


01.05.

item expect got diff
lang de de
month 5 5
month2 true true
dom 1 1
dom2 true true


1 May

item expect got diff
lang de de
month 5 5
dom 1 1
dom2 false false


25 March

item expect got diff
lang de de
month 3 3
dom 25 25
dom2 true true


Mai

item expect got diff
lang de de
month 5 5


01.05.2013

item expect got diff
lang de de
year 2013 2013
month 5 5
month2 true true
dom 1 1
dom2 true true


01.05.2013 02:03:45

item expect got diff
lang de de
year 2013 2013
month 5 5
month2 true true
dom 1 1
dom2 true true
hour 2 2
hour2 true true
min 3 3
sec 45 45


May 1, 2013

item expect got diff
lang de de
year 2013 2013
month 5 5
dom 1 1
dom2 false false


1 May 2013

item expect got diff
lang de de
year 2013 2013
month 5 5
dom 1 1
dom2 false false


1 May 2013 02:03:45

item expect got diff
lang de de
year 2013 2013
month 5 5
dom 1 1
dom2 false false
hour 2 2
hour2 true true
min 3 3
sec 45 45


2013-05-01 02:03:45

item expect got diff
lang de de
year 2013 2013
month 5 5
month2 true true
dom 1 1
dom2 true true
hour 2 2
hour2 true true
min 3 3
sec 45 45


2013-05-01 02:03:45 (CEST)

item expect got diff
lang de de
year 2013 2013
month 5 5
month2 true true
dom 1 1
dom2 true true
hour 2 2
hour2 true true
min 3 3
sec 45 45
zone CEST CEST


2013-05-01 02:03 (CEST)

item expect got diff
lang de de
year 2013 2013
month 5 5
month2 true true
dom 1 1
dom2 true true
hour 2 2
hour2 true true
min 3 3
zone CEST CEST


2013-05-01T02:03:45

item expect got diff
lang de de
year 2013 2013
month 5 5
dom 1 1
hour 2 2
min 3 3
sec 45 45


20130501T020345

item expect got diff
lang de de
year 2013 2013
month 5 5
dom 1 1
hour 2 2
min 3 3
sec 45 45


20130501T020345Z

item expect got diff
lang de de
year 2013 2013
month 5 5
dom 1 1
hour 2 2
min 3 3
sec 45 45
zone Z Z


2013-05-01T02:03:45+0200

item expect got diff
lang de de
year 2013 2013
month 5 5
dom 1 1
hour 2 2
min 3 3
sec 45 45
zone 200 200


2013-05-01T02:03:45 +0200

item expect got diff
lang de de
year 2013 2013
month 5 5
dom 1 1
hour 2 2
min 3 3
sec 45 45
zone 200 200


2013-05-01T02:03:45 +02:00

item expect got diff
lang de de
year 2013 2013
month 5 5
dom 1 1
hour 2 2
min 3 3
sec 45 45
zone 200 200


-05-01

item expect got diff
lang de de
month 5 5
dom 1 1


-12-24 18:00

item expect got diff
lang de de
month 12 12
dom 24 24
hour 18 18
hour2 true true
min 0 0


2013W10

item expect got diff
lang de de
year 2013 2013
week 10 10


30. Dez. 2013, 10:28:17

item expect got diff
lang de de
year 2013 2013
month 12 12
dom 30 30
dom2 true true
hour 10 10
hour2 true true
min 28 28
sec 17 17


10:28, 30. Dez. 2013

item expect got diff
lang de de
year 2013 2013
month 12 12
dom 30 30
dom2 true true
hour 10 10
hour2 true true
min 28 28


10:28, 2013 Dez. 30

item expect got diff
lang de de
year 2013 2013
month 12 12
dom 30 30
dom2 true true
hour 10 10
hour2 true true
min 28 28


02:03:45

item expect got diff
lang de de
hour 2 2
hour2 true true
min 3 3
sec 45 45


02:03:45.547

item expect got diff
lang de de
hour 2 2
hour2 true true
min 3 3
sec 45 45
msec 547 547


02:03

item expect got diff
lang de de
hour 2 2
hour2 true true
min 3 3


#0

item expect got diff
lang de de
year 1970 1970
month 1 1
dom 1 1
hour 0 0
min 0 0
sec 0 0


#1244701585

item expect got diff
lang de de
year 2009 2009
month 6 6
dom 11 11
hour 6 6
min 26 26
sec 25 25


#1732171024

item expect got diff
lang de de
year 2024 2024
month 11 11
dom 21 21
hour 6 6
min 37 37
sec 4 4


7.

item expect got diff


01.05

item expect got diff


item expect got diff


29. Februar 2013

failed

29. Februar 1900

failed

2013-5-1

item expect got diff


2013-05-00

failed

#

item expect got diff


#-1

item expect got diff


#x

item expect got diff