Thanks to @mborgbrant, @saintplay, @mrenty, @kibertoad, @levibuzolic, @Anshuman71, @talgautb, @filipjuza, @tobyzerner, @emil9453, @fintara, @pascaliske, @rramiachraf, @marnusw and @Imballinst for working on the release.
Fixed
- Fixed a bug with addBusinessDays returning the Tuesday when adding 1 day on weekends. Now it returns the Monday.
- Added missing timezone to
formatISO
. - Removed dots from short day period names in the Kazakh locale.
- Fixed typo in formatDistance in the Czech locale.
- Fixed shortenings in the Bulgarian locale.
- Fixed regex for the May in the Portuguese locale.
Added
- Added
eachMonthOfInterval
andeachYearOfInterval
. - Added
inclusive
option to `areIntervalsOverlapping. - Added
isExists
function that checks if the given date is exists. - Added
add
function to add seconds, minutes, hours, weeks, years in single call. - Added
sub
function, the opposite ofadd
. - Added
Duration
type used inadd
andsub
. - Added Azerbaijani (az) locale.
- Added Moroccan Arabic (ar-MA) locale.