Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2.0 #17

Merged
merged 19 commits into from
Mar 3, 2024
Merged

Release v2.0 #17

merged 19 commits into from
Mar 3, 2024

Conversation

sadespresso
Copy link
Owner

  • TimeRange
    • [BREAKING] Renamed all variable/methods with "prev" to "last"
    • Added HourTimeRange, LocalWeekTimeRange and IsoWeekTimeRange
    • [BREAKING] TimeRange's to is now exclusive. This means
      DayTimeRange().duration will equal to Duration(days:1) unless there's a
      daylight saving
      going on.
    • Added next/last getters on some TimeRange classes.
  • [BREAKING] Removes deprecated formatter tokens YYYYYY and Y
  • Moment. relative constructors
    • [BREAKING] Renamed all variable/methods with "prev" to "last"
    • Added Moment.startOfThisLocalWeek(), with endOf and next/prev variants
    • Added Moment.startOfThisIsoWeek(), with endOf and next/prev variants
    • Added Moment.startOfThisHour(), with endOf and next/prev variants
  • Added relative finder methods such as .startOfNextDay().
  • Added .startOfIsoWeek() and .endOfIsoWeek()
  • Exposes DateTimeConstructors (no longer need to import)

@sadespresso sadespresso merged commit 583f066 into master Mar 3, 2024
@sadespresso sadespresso deleted the version2 branch March 3, 2024 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant