Releases: joe-crick/calendar-model
Releases · joe-crick/calendar-model
Day Structure, Hours, Time
Main Features:
- Update the Day data structure to use props.
- Add additional convenience methods to Day: Time, WeekOfYear, &c.
- Make inputs and outputs for Model methods consistent (Input a JS Date, Output a Day).
- Add support for Hours.
- Refactoring of some method names.
- Add Day detection.
Alpha
First release of calendar-model. Main features:
- Uses the built-in JS Date object, decorated with convenience methods and extra functionality.
- Independent functions you can use to compose a calendar.
- Ability to get months, weeks, and days.
- Convenience methods (e.g., months).
- Methods to translate number values to week day names or month names.
- Highly customizable, while providing default implementations. You can provide your own implementation (or a third party implementation) for:
- Formatting
- Event lookup
- Week length
- Month length
- Month names
- Weekday names
- ISOString conversion