Changelog
[2.16.0] - 2020-08-27
Kudos to @jvpelt, @piotrl, @yotamofek, @dwaxweiler, @leedriscoll and @bradevans for working on the release. Also thanks to @PascalHonegger, @pickfire, @TheJaredWilcurt, @SidKH and @nfantone for improving the documentation.
1 minute
and 2 days
.formatRFC3339
formatting timezone offset with minutes.formatDuration
Changelog
[2.15.0] - 2020-07-17
Thanks to @belgamo, @Matsuuu, @Imballinst, @arsnyder16, @pankajupadhyay29, @DCBN, @leedriscoll, @gottsohn, @mukuljainx and @dtriana for working on the release. Also kudos to @KidkArolis, @imgx64, @fjc0k, @wmonk, @djD-REK, @dandv, @psimk and @brimworks for improving the documentation.
addBusinessDays
when input date is a weekend day.parseISO
not returning Invalid Date
on incorrect string when there are spaces in it.es
round-tripping dates with Wednesday.d
/EEEE
ordering in tokens like PPPPP
.Changelog
[2.14.0] - 2020-05-18
Kudos to @julamb, @JacobSoderblom, @justingrant, @dragunoff, @jmate0321, @gbhasha, @rasck, @AlbertoPdRF, @sebastianhaberey and @giogonzo for working on the release!
add
, addDays
and addMonths
.formatDistance
strings in the Hungarian locale.formatLong
in the Spanish locale.formatRelative
in the Italian locale.Changelog
[2.13.0] - 2020-05-06
Thanks to @JorenVos, @developergouli, @rhlowe and @justingrant for working on the release!
Changelog
[2.12.0] - 2020-04-09
Kudos to @leshakoss, @skyuplam, @so99ynoodles, @dkozickis, @belgamo, @akgondber, @dcousens and @BoomDev for working on the release!
setDay
with weekStartsOn
!= 0.Changelog
[2.11.1] - 2020-03-26
Changelog
[2.11.0] - 2020-03-13
Kudos to @oakhan3, @Mukhammadali, @altrim, @leepowellcouk, @amatzon, @bryanMt, @kalekseev, @eugene-platov and @tjrobinson for working on the release.
differenceInYears
causing incorrect results when the left date is a leap day.parseISO
to work correctly around time shift dates.format
to work correctly with GMT-0752/GMT-0456 and similar timezones.getDay
typings to return 0|1|2|3|4|5|6
instead of number
.ordinalNumber
function behavior.formatRelative
depending on if it's a current week or not.Changelog
[2.10.0] - 2020-02-25
Changelog
[2.9.0] - 2020-01-08
Thanks to @mborgbrant, @saintplay, @mrenty, @kibertoad, @levibuzolic, @Anshuman71, @talgautb, @filipjuza, @tobyzerner, @emil9453, @fintara, @pascaliske, @rramiachraf, @marnusw and @Imballinst for working on the release.
formatISO
.eachMonthOfInterval
and eachYearOfInterval
.inclusive
option to `areIntervalsOverlapping.isExists
function that checks if the given date is exists.add
function to add seconds, minutes, hours, weeks, years in single call.sub
function, the opposite of add
.Duration
type used in add
and sub
.Changelog