- added possibility for define holiday or special day overwrites
- merged pull requests by @rucksman
- added "isWeekendOrHolidayOrSpecialday" #21
- Add Weltfrauentag as holiday in Berlin #22
- Dependencies update
- changed completely from UTC to local time, because in some time-zones day calculated wrong
- added possibility to define additional payload data for a holiday or a special day. This could be used to directly send additional data based on the day which are today #10
- #7 Fixed typo - Interface change implied
- set Node-Red 1.0 or above as the required Version
- removed backward compatibility. Node will only used holidays setup before. If a node was not changed since 0.1.0 it will no longer work! Need to open of the node settings in node-Red, Save and deploy is necessary for migration!
- updated dependencies
- removed peer dependencies
- fixed bug with the code prepared for Node-Red 1.0. The recommend way for be backward compatible doesn't work. This is also confirmed by @knolleary.
- more changes for node-red 1.0 (https://nodered.org/blog/2019/09/20/node-done)
- updated dependencies
- added node-red 0.19.0 as required version
- added Weltkindertag as holiday for Thüringen
- added WELTFRAUENTAG as special day
- added FRIEDENSFEST as special day
- updated dependencies
- fix display problem in node-red 0.2.x, caused by preparations for node-red 1.0
- fix, added Fronleichnam to region BY
- smaller changes in layout of clear/add button of the lists in settings of the node
- no changes, only re-released, to fix node-red repository
- reworked data model
- no longer integer representation as array
- added integer representation to every day object as ts and tsUTC property
- renamed predefined special days
- added changelog
- fixed problem with UTC and weekend detection
- added characteristic for holidays and special days
- added more pre-defined special days
- reworked data model
- removed
weekday
property of a day (nowtype[0]
) - added for a day a
type
property to a day definition as an array. Where the first element is the day of week information and all following will contain holiday and special day data - preparation for future possibility to have more than one special day at same time
- removed
- fixed some data for pre-defined special days
- changed implementation day of week for a month (e.g. first Sunday of month, example Erntedank, Muttertag)capability
- added possibility to define days as day of week from end of a month (e.g. last Monday of month)
- reduced logging
- fixed links in documentation
- only documentation changed
- added holidays for Austria
- fixed pre-defined data for 1th may
- added possibility for a free definition of holidays and special days