All Versions
15
Latest Version
Avg Release Cycle
107 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v4.2.3 Changes
- ๐ Fixed bug with UTC date on daylights savings time #94
-
v4.2.1 Changes
- ๐ Fixed missing source map
- ๐ Fixed security y18n
-
v4.2.0 Changes
March 03, 2020โ Added isoDate and isoDateTime masks
-
v4.1.0 Changes
February 10, 2020 -
v4.0.0 Changes
January 17, 2020Major Features and Breaking changes in this version
๐ Improvements
- ๐ Valid date parsing - By default fecha will check validity of dates. Previously
2019-55-01
or2019-01-42
would parse correctly, since Javascript can handle it. Now invalid dates will returnnull
instead - ๐ ES Module and Tree Shaking Support - You can now import fecha
parse
orformat
independently ```js import {format, parse} from 'fecha';
format(...); parse(...)
#### ๐ฅ Breaking changes - ๐ `parseDate` may return `null` when previously returned a `Date`. See improvements above, but invalid dates will return `null` now - ๐ Change to how to set masks and i18n Previously ```js import fecha from 'fecha'; fecha.i18n = { ... } fecha.masks.myMask = 'DD , MM, YYYY'
๐ New
import {parse, format, setGlobalDateI18n, setGlobalDateMasks} from 'fecha'; setGlobalDateI18n({ // ... }) setGlobalDateMasks({ myMask: 'DD , MM, YYYY' });
- ๐ Valid date parsing - By default fecha will check validity of dates. Previously
-
v4.0.0-alpha.1 Changes
January 06, 2020Major Features and Breaking changes in this version
๐ Improvements
- ๐ Valid date parsing - By default fecha will check validity of dates. Previously
2019-55-01
or2019-01-42
would parse correctly, since Javascript can handle it. Now invalid dates will returnnull
instead ๐ ES Module and Tree Shaking Support - You can now import fecha
parse
orformat
independentlyimport {format, parse} from 'fecha';format(...);parse(...)
๐ฅ Breaking changes
- ๐
parseDate
may returnnull
when previously returned aDate
. See improvements above, but invalid dates will returnnull
now ๐ Change to how to set masks and i18n
Previouslyimport fecha from 'fecha';fecha.i18n = { ... }fecha.masks.myMask = 'DD , MM, YYYY'
๐ New
import {parse, format, setGlobalDateI18n, setGlobalDateMasks} from 'fecha';setGlobalDateI18n({ // ...})setGlobalDateMasks({ myMask: 'DD , MM, YYYY'});
- ๐ Valid date parsing - By default fecha will check validity of dates. Previously
-
v3.0.3 Changes
April 16, 2019- ๐ Fixed bug when using brackets when parsing dates
-
v3.0.2 Changes
December 02, 2018- ๐ Fixed issue where src files are not included correctly in npm
-
v3.0.0 Changes
- ๐ Moved to ES modules
- ๐ Changed invalid date from
false
tonull
-
v2.3.3 Changes
February 21, 2018๐ Fixed bug with year 999 not having leading zero