• Awesome Node.js Logo
  •  
  • Categories
  • Newsletter
  • Submit
  • Login
  •  
  • Subscribe
  • Submit
  • Categories
  • About
  • Login
  1. Awesome Node.js
  2. date-fns
  3. Changelog
  4. Current: 2.9.0

date-fns v2.9.0

Version Release Notes from January 08, 2020 (over 2 years ago)

« Changelog History


date-fns v2.9.0 Release Notes

Release Date: 2020-01-08 // over 2 years ago
  • 🚀 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 and eachYearOfInterval.
    • 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 of add.
    • Added Duration type used in add and sub.
    • Added Azerbaijani (az) locale.
    • Added Moroccan Arabic (ar-MA) locale.

    🔄 Changed

    • 🏗 Reduced the total minified build size by 1Kb/4%.
    • Made all properties in Locale type optional.
    • Added missing properties to Locale type.
    • Add the locale code to Locale type.
    • 📜 Added support of space time separator to parseJSON.
    • 📜 Allowed up to 7 digits in milliseconds in parseJSON.
  • All Versions
  • Previous v2.8.1
  • Next v2.10.0
  • Latest Version

About
Your go-to Node.js Toolbox. Our goal is to help you find the software and libraries you need. Made by developers for developers. The collection of libraries and resources is based on the Awesome Node.js List and direct contributions here. To add a new module, please, check the contribute section.


Site Links:
Node.js Newsletter   Categories   Tags   Changelogs   About    
Become a sponsor


More from LibHunt
  • Android
  • C++
  • Crystal
  • Elixir
  • Go
  • Haskell
  • iOS
  • Java
  • JavaScript
  • Kotlin
  • .NET
  • PHP
  • Python
  • React
  • Ruby
  • Rust
  • Scala
  • Self Hosted
  • Swift
  • SysAdmin

Happily hosted on Linode
Awesome Node.js is part of the LibHunt network. Terms. Privacy Policy.

(CC)
BY-SA