Merge pull request #1676 from Wintandre/issue/#1587/uk-bank-holidays

Fix repeating and non-repeating UK holidays. Issue #1587.
This commit is contained in:
Tibor Kaputa 2022-04-06 23:03:33 +02:00 committed by GitHub
commit a87d271f5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 11 deletions

View File

@ -58,12 +58,12 @@ DTSTART;VALUE=DATE:20300318
DTEND;VALUE=DATE:20300319 DTEND;VALUE=DATE:20300319
END:VEVENT END:VEVENT
BEGIN:VEVENT BEGIN:VEVENT
STATUS:CONFIRMED STATUS:CANCELLED
UID:uni_9 UID:uni_9
SUMMARY:Good Friday SUMMARY:Good Friday
RRULE:FREQ=YEARLY
DTSTART;VALUE=DATE:20210402 DTSTART;VALUE=DATE:20210402
DTEND;VALUE=DATE:20210403 DTEND;VALUE=DATE:20210403
LAST-MODIFIED:20220301
END:VEVENT END:VEVENT
BEGIN:VEVENT BEGIN:VEVENT
STATUS:CONFIRMED STATUS:CONFIRMED
@ -129,12 +129,12 @@ DTSTART;VALUE=DATE:20300419
DTEND;VALUE=DATE:20300420 DTEND;VALUE=DATE:20300420
END:VEVENT END:VEVENT
BEGIN:VEVENT BEGIN:VEVENT
STATUS:CONFIRMED STATUS:CANCELLED
UID:uni_19 UID:uni_19
SUMMARY:Easter Monday SUMMARY:Easter Monday
RRULE:FREQ=YEARLY
DTSTART;VALUE=DATE:20210405 DTSTART;VALUE=DATE:20210405
DTEND;VALUE=DATE:20210406 DTEND;VALUE=DATE:20210406
LAST-MODIFIED:20220301
END:VEVENT END:VEVENT
BEGIN:VEVENT BEGIN:VEVENT
STATUS:CONFIRMED STATUS:CONFIRMED
@ -203,13 +203,24 @@ BEGIN:VEVENT
STATUS:CONFIRMED STATUS:CONFIRMED
UID:uni_29 UID:uni_29
SUMMARY:Early May Bank Holiday SUMMARY:Early May Bank Holiday
RRULE:FREQ=YEARLY;BYDAY=1MO;BYMONTH=5
DTSTART;VALUE=DATE:20220502 DTSTART;VALUE=DATE:20220502
DTEND;VALUE=DATE:20220503 DTEND;VALUE=DATE:20220503
LAST-MODIFIED:20220301
END:VEVENT END:VEVENT
BEGIN:VEVENT BEGIN:VEVENT
STATUS:CONFIRMED STATUS:CONFIRMED
UID:uni_30 UID:uni_30
SUMMARY:Spring Bank Holiday SUMMARY:Spring Bank Holiday
RRULE:FREQ=YEARLY;BYDAY=-1MO;BYMONTH=5
DTSTART;VALUE=DATE:20230529
DTEND;VALUE=DATE:20230530
LAST-MODIFIED:20220301
END:VEVENT
BEGIN:VEVENT
STATUS:CONFIRMED
UID:uni_30a
SUMMARY:Spring Bank Holiday
DTSTART;VALUE=DATE:20220602 DTSTART;VALUE=DATE:20220602
DTEND;VALUE=DATE:20220603 DTEND;VALUE=DATE:20220603
END:VEVENT END:VEVENT
@ -243,12 +254,12 @@ DTSTART;VALUE=DATE:20260713
DTEND;VALUE=DATE:20260714 DTEND;VALUE=DATE:20260714
END:VEVENT END:VEVENT
BEGIN:VEVENT BEGIN:VEVENT
STATUS:CONFIRMED STATUS:CANCELLED
UID:uni_34 UID:uni_34
SUMMARY:Summer Bank Holiday SUMMARY:Summer Bank Holiday
RRULE:FREQ=YEARLY;BYDAY=1MO;BYMONTH=8
DTSTART;VALUE=DATE:20210802 DTSTART;VALUE=DATE:20210802
DTEND;VALUE=DATE:20210803 DTEND;VALUE=DATE:20210803
LAST-MODIFIED:20220301
END:VEVENT END:VEVENT
BEGIN:VEVENT BEGIN:VEVENT
STATUS:CONFIRMED STATUS:CONFIRMED
@ -277,8 +288,9 @@ BEGIN:VEVENT
STATUS:CONFIRMED STATUS:CONFIRMED
UID:uni_38 UID:uni_38
SUMMARY:Christmas Day (substitute) SUMMARY:Christmas Day (substitute)
DTSTART;VALUE=DATE:20221226 DTSTART;VALUE=DATE:20221227
DTEND;VALUE=DATE:20221227 DTEND;VALUE=DATE:20221228
LAST-MODIFIED:20220301
END:VEVENT END:VEVENT
BEGIN:VEVENT BEGIN:VEVENT
STATUS:CONFIRMED STATUS:CONFIRMED
@ -303,11 +315,12 @@ DTSTART;VALUE=DATE:20211228
DTEND;VALUE=DATE:20211229 DTEND;VALUE=DATE:20211229
END:VEVENT END:VEVENT
BEGIN:VEVENT BEGIN:VEVENT
STATUS:CONFIRMED STATUS:CANCELLED
UID:uni_42 UID:uni_42
SUMMARY:Boxing Day (substitute) SUMMARY:Boxing Day (substitute)
DTSTART;VALUE=DATE:20221227 DTSTART;VALUE=DATE:20211228
DTEND;VALUE=DATE:20221228 DTEND;VALUE=DATE:20211229
LAST-MODIFIED:20220301
END:VEVENT END:VEVENT
BEGIN:VEVENT BEGIN:VEVENT
STATUS:CONFIRMED STATUS:CONFIRMED