Changelog History
Page 2
-
v2.17.0 Changes
October 27, 2020Kudos to @shaykav, @davidgape89, @rikkalo, @tan75, @talgautb, @owenl131, @kylesezhi, @inigoiparragirre, @gius, @Endeauvirr and @frankyston.
π Fixed
π Fixed
differenceInMonths
for edge cases, such as the end of February dates.π Fixed
formatDuration
week translation inpt
andpt-BR
locales.Made Japanese locale to use the correct value for the start of the week.
π Fixed the short and medium date formats in the Czech locale.
π Fixed the week's abbreviations in the Brazilian Portuguese.
β Added
0οΈβ£ Added
intlFormat
a lightweight formatting function that uses Intl API. Eventually, it will become the default formatting function, so it's highly recommended for new code.Added an ability to format lowercase am/pm with
aaa
andbbb
tokens.
-
v2.16.1 Changes
July 31, 2020Kudos to @aleksaps, @leedriscoll and @BanForFun for pull-requests!
π Fixed
- π Fixed a typo in Scottish Gaelic (gd) locale.
- βοΈ Fixed typos in Serbian Latin locale.
- π Fixed greek grammar for Saturday on
formatRelative
. - β Removed locale snapshots from the npm package making it lighter.
-
v2.16.0 Changes
August 27, 2020π 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.
π Fixed
- π Added correct translations for Welsh
1 minute
and2 days
. - π Fixed
formatRFC3339
formatting timezone offset with minutes. - Added missing locale type definition for
formatDuration
. - π Fixed Scottish Gaelic locale issues.
π Changed
- Used shorter Hebrew alternative for "about".
- β¬οΈ Improved string arguments warning after upgrading to v2.
β Added
- π Added correct translations for Welsh
-
v2.15.0 Changes
July 17, 2020π 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.
π Fixed
- π Fixed behavior of
addBusinessDays
when input date is a weekend day. - π Fixed
parseISO
not returningInvalid Date
on incorrect string when there are spaces in it. - π Fixed
es
round-tripping dates with Wednesday. - π Fixed round-trip bug with
d
/EEEE
ordering in tokens likePPPPP
. - π Fixed issues with parsing values in Japanese.
- π Fixed Hungarian breaking IE11.
- π Fixed Spanish accents in Saturday and Wednesday.
π Changed
β Added
- π Fixed behavior of
-
v2.14.0 Changes
May 18, 2020π Kudos to @julamb, @JacobSoderblom, @justingrant, @dragunoff, @jmate0321, @gbhasha, @rasck, @AlbertoPdRF, @sebastianhaberey and @giogonzo for working on the release!
π Fixed
- π Fixed DST issues with
add
,addDays
andaddMonths
. - π Fixed "quarter" translation in the Bulgarian locale.
- π Fixed
formatDistance
strings in the Hungarian locale. - π Fixed Danish month abbreviations.
- π Fixed parsing of mei in the Dutch locale.
- π Fixed missing preposition in
formatLong
in the Spanish locale. - π Fixed
formatRelative
in the Italian locale.
β Added
- π Fixed DST issues with
-
v2.13.0 Changes
May 06, 2020π Thanks to @JorenVos, @developergouli, @rhlowe and @justingrant for working on the release!
π Fixed
- π Fixed mei abbreviation in the Dutch locale.
- π Fixed
differenceInDays
DST behavior broken in 2.12.0.
β Added
-
v2.12.0 Changes
April 09, 2020π Kudos to @leshakoss, @skyuplam, @so99ynoodles, @dkozickis, @belgamo, @akgondber, @dcousens and @BoomDev for working on the release!
π Fixed
- π Fixed minulΓ½ Ε‘tvrtok in Slovak locale.
- π Fixed date ordinalNumber for ja/zh-CN/zh-TW and ko.
- π Fixed quarters parsing.
- π Fixed
setDay
withweekStartsOn
!= 0. - π Fixed differenceInDays across DST.
- π Fixed required arguments exception message.
β Added
-
v2.11.1 Changes
March 26, 2020π Fixed
- Rebuilt TypeScript and flow types.
-
v2.11.0 Changes
March 13, 2020π Kudos to @oakhan3, @Mukhammadali, @altrim, @leepowellcouk, [@amatzon](@https://github.com/amatzon), @bryanMt, @kalekseev, @eugene-platov and @tjrobinson for working on the release.
π Fixed
- π Fixed a bug in
differenceInYears
causing incorrect results when the left date is a leap day. - π Fixed
parseISO
to work correctly around time shift dates. - π Fixed
format
to work correctly with GMT-0752/GMT-0456 and similar timezones.
π Changed
- Changed
getDay
typings to return0|1|2|3|4|5|6
instead ofnumber
. - Improved Chinese locale:
- Change date format to meet the national standard (GB/T 7408-2005).
- Improve
ordinalNumber
function behavior. - Add prefix in
formatRelative
depending on if it's a current week or not.
β Added
- π Fixed a bug in
-
v2.10.0 Changes
February 25, 2020π Fixed
π Fixed
- π Fixed a bug in setDay when using weekStartsOn that is not 0
β Added