You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

163 lines
3.1 KiB

---
test case: 2020-09-01 00:00:00 +03:00 / h
in:
timezone: :Europe/Riga
time: 2020-09-01 00:00:00 +03:00
base: h
out:
time: 2020-09-01 00:00:00 +03:00
---
test case: 2020-09-01 00:00:01 +03:00 / h
in:
timezone: :Europe/Riga
time: 2020-09-01 00:00:01 +03:00
base: h
out:
time: 2020-09-01 00:00:00 +03:00
---
test case: 2020-09-01 23:00:01 +03:00 / h
in:
timezone: :Europe/Riga
time: 2020-09-01 23:00:01 +03:00
base: h
out:
time: 2020-09-01 23:00:00 +03:00
---
test case: 2020-09-01 00:00:01 +03:00 / d
in:
timezone: :Europe/Riga
time: 2020-09-01 00:00:01 +03:00
base: d
out:
time: 2020-09-01 00:00:00 +03:00
---
test case: 2020-09-01 00:00:00 +03:00 / d
in:
timezone: :Europe/Riga
time: 2020-09-01 00:00:00 +03:00
base: d
out:
time: 2020-09-01 00:00:00 +03:00
---
test case: 2020-12-31 23:59:59 +02:00 / d
in:
timezone: :Europe/Riga
time: 2020-12-31 23:59:59 +02:00
base: d
out:
time: 2020-12-31 00:00:00 +02:00
---
test case: 2020-09-08 16:23:00 +03:00 / w
in:
timezone: :Europe/Riga
time: 2020-09-08 16:23:00 +03:00
base: w
out:
time: 2020-09-07 00:00:00 +03:00
---
test case: 2020-09-07 16:23:00 +03:00 / w
in:
timezone: :Europe/Riga
time: 2020-09-07 16:23:00 +03:00
base: w
out:
time: 2020-09-07 00:00:00 +03:00
---
test case: 2020-09-13 16:23:00 +03:00 / w
in:
timezone: :Europe/Riga
time: 2020-09-13 16:23:00 +03:00
base: w
out:
time: 2020-09-07 00:00:00 +03:00
---
test case: 2020-09-08 16:23:00 +03:00 / M
in:
timezone: :Europe/Riga
time: 2020-09-08 16:23:00 +03:00
base: M
out:
time: 2020-09-01 00:00:00 +03:00
---
test case: 2020-09-08 16:23:00 +03:00 / y
in:
timezone: :Europe/Riga
time: 2020-09-08 16:23:00 +03:00
base: y
out:
time: 2020-01-01 00:00:00 +02:00
---
test case: 2020-09-07 16:23:00 +03:00 / w
in:
timezone: :Europe/Riga
time: 2020-09-07 16:23:00 +03:00
base: w
out:
time: 2020-09-07 00:00:00 +03:00
---
test case: 2020-09-01 00:00:00 +03:00 / m
in:
timezone: :Europe/Riga
time: 2020-09-01 00:00:00 +03:00
base: m
out:
time: 2020-09-01 00:00:00 +03:00
---
test case: 2020-09-01 00:01:01 +03:00 / m
in:
timezone: :Europe/Riga
time: 2020-09-01 00:01:01 +03:00
base: m
out:
time: 2020-09-01 00:01:00 +03:00
---
test case: 2021-01-01 12:00:00 +02:00 / i
in:
timezone: :Europe/Riga
time: 2021-01-01 12:00:00 +02:00
base: i
out:
time: 2019-12-30 00:00:00 +02:00
---
test case: 2021-01-10 12:00:00 +02:00 / i
in:
timezone: :Europe/Riga
time: 2021-01-10 12:00:00 +02:00
base: i
out:
time: 2021-01-04 00:00:00 +02:00
---
test case: 2021-07-01 12:00:00 +03:00 / i
in:
timezone: :Europe/Riga
time: 2021-07-01 12:00:00 +03:00
base: i
out:
time: 2021-01-04 00:00:00 +02:00
---
test case: 2021-12-31 12:00:00 +02:00 / i
in:
timezone: :Europe/Riga
time: 2021-12-31 12:00:00 +03:00
base: i
out:
time: 2021-01-04 00:00:00 +02:00
---
test case: 2022-01-02 12:00:00 +02:00 / i
in:
timezone: :Europe/Riga
time: 2022-01-02 12:00:00 +03:00
base: i
out:
time: 2021-01-04 00:00:00 +02:00
---
test case: 2022-01-03 12:00:00 +02:00 / i
in:
timezone: :Europe/Riga
time: 2022-01-03 12:00:00 +03:00
base: i
out:
time: 2022-01-03 00:00:00 +02:00
...