Skip to content

Commit

Permalink
Version 23.7
Browse files Browse the repository at this point in the history
  • Loading branch information
hvianna committed Jul 30, 2023
2 parents 2eba371 + 01e7d27 commit f99a2aa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

## version 23.7

+ Correct Labour Day date in Victoria, Australia - props [koterpillar](https://github.com/koterpillar) [(#12)](https://github.com/hvianna/desktopCal.js/pull/12).


## version 23.2

### Added:
Expand All @@ -15,6 +20,7 @@ Changelog
+ Add, not replace, holidays in lieu (for UK and AU) - thank you [koterpillar](https://github.com/koterpillar) [(#10)](https://github.com/hvianna/desktopCal.js/pull/10);
+ Updated US holidays: added Juneteenth and renamed Washington's Birthday to Presidents' Day.


## version 23.1

### Added:
Expand Down
2 changes: 1 addition & 1 deletion js/desktopCal.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/
'use strict';

const VERSION = '23.2';
const VERSION = '23.7';

let cropper = [],
colorPresets;
Expand Down
3 changes: 2 additions & 1 deletion js/holidays.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ function checkHoliday( year, month, day ) {
...observed( year, 1, 1, country, 'New Year\'s Day' ),
...observed( year, 1, 26, country, 'Australia Day' ),
...inRegions(['tas'], { date: floatingDoW( 1, year, 2, 8 ), name: 'Royal Hobart Regatta' }),
...inRegions(['vic', 'wa'], { date: floatingDoW( 1, year, 3, 1 ), name: 'Labour Day' }),
...inRegions(['wa'], { date: floatingDoW( 1, year, 3, 1 ), name: 'Labour Day' }),
...inRegions(['vic'], { date: floatingDoW( 1, year, 3, 8 ), name: 'Labour Day' }),
...inRegions(['act'], { date: floatingDoW( 1, year, 3, 8 ), name: 'Canberra Day' }),
...inRegions(['sa'], { date: floatingDoW( 1, year, 3, 8 ), name: 'Adelaide Cup Day' }),
...inRegions(['tas'], { date: floatingDoW( 1, year, 3, 8 ), name: 'Eight Hours Day' }),
Expand Down

0 comments on commit f99a2aa

Please sign in to comment.