Skip to content

Commit

Permalink
Merge pull request #198 from jenskeiner/XLON-special-close-day-names
Browse files Browse the repository at this point in the history
Bring special close day names in line with other calendars.
  • Loading branch information
gerrymanoim authored Dec 22, 2020
2 parents b25c4f9 + 9b2084f commit 1c740f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions trading_calendars/exchange_calendar_xlon.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
# If Christmas Eve falls on a weekday, that day is a half day.
# If it falls on a weekend, the preceding Friday is a half day.
ChristmasEve = Holiday(
'Christmas Eve Early Close',
'Christmas Eve',
month=12,
day=24,
observance=previous_friday,
Expand All @@ -137,14 +137,14 @@
# is a half day. Except for 1999-12-31, when the Queen declared a
# bank holiday.
NewYearsEvePre1999 = Holiday(
"New Year's Eve Early Close",
"New Year's Eve",
month=12,
day=31,
observance=previous_friday,
end_date=pd.Timestamp('1999-01-01')
)
NewYearsEvePost2000 = Holiday(
"New Year's Eve Early Close",
"New Year's Eve",
month=12,
day=31,
observance=previous_friday,
Expand Down

0 comments on commit 1c740f7

Please sign in to comment.