שיחת יחידה:תאריך/בדיקות
הוספת נושאמראה
All tests passed.
testNewFromWikitextCentury:
Text | Expected | Actual | |
---|---|---|---|
![]() |
parse | true | true |
![]() |
precision | 7 | 7 |
![]() |
year | 1300 | 1300 |
![]() |
month | 0 | 0 |
![]() |
day | 0 | 0 |
testNewFromWikitextSimple:
Text | Expected | Actual | |
---|---|---|---|
![]() |
precision | 11 | 11 |
![]() |
day | 3 | 3 |
![]() |
year | 2 | 2 |
![]() |
year | 2000 | 2000 |
![]() |
calendar | Gregorian | Gregorian |
testNewFromWikitextLink:
Text | Expected | Actual | |
---|---|---|---|
![]() |
precision | 11 | 11 |
![]() |
day | 3 | 3 |
![]() |
year | 2 | 2 |
![]() |
year | 2000 | 2000 |
![]() |
calendar | Gregorian | Gregorian |