Releases: Stephen-Hamilton-C/timecard-lib
Releases · Stephen-Hamilton-C/timecard-lib
Hardly Workin' | 2.0.3
[2.0.3] - 2024-07-04
Changed
Timecard.calculateMinutesWorked()
now takes an optional second argument to include time since last entry to NOW.
Fixed
Timecard.calculateMinutesWorked()
returning 0 minutes despite there being time worked
Awake | 2.0.2
[2.0.2] - 2024-07-03
Changed
- [BREAKING] Minimum supported Java from 11 to 17
Timecard.calculateMinutesOnBreak()
now takes an optional second argument to include time since last entry to NOW.- Updated dependencies
Slacking | 2.0.1
Serialization | 2.0.0
I know changing the major version only a week later is a lot, but it felt necessary. The confusion of TimeEntries and the entries list inside was unnecessary and I feel that I overlooked serialization. This shouldn't be a frequent occurrence.
[2.0.0] - 2023-06-09
Added
- kotlinx.serialization capability to
Timecard
andTimeEntry
Changed
- [BREAKING]
TimeEntries
was renamed toTimecard
- [BREAKING]
Timecard.toString()
now separatesTimeEntry
s by newline\n
rather than semicolon;
Timecard.fromString()
was updated to comply with this change as well
- [BREAKING]
TimeEntry.toString()
now stores Instants as epoch milliseconds rather than epoch secondsTimeEntry.fromString()
was updated to comply with this change as well