-
We only use this for relative time formatting and we can do that with ~50 lines (possibly copied from date-fns) + `Intl.RelativeTimeFormat()`.
Also: the way we use locales in date-fns means we end…
-
Both Day.js and date-fns provide similar functionality for date and time manipulation. We have decided to remove Day.js in favor of date-fns due to its minimal package size.
-
While helping with https://github.com/date-fns/date-fns/issues/3755, I realized it's not particularly clearly stated that this package is meant to be used with date-fns v3 and won't work as expected w…
-
#### Feature request
BlueprintJS is currently using `date-fns` v2, which had a big issue of polluting the global namespace with their TypeScript definitions. This causes conflicts with anyone cons…
-
### Reproduction link
[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/p/sandbox/antd-v5-date-fns-42lhsx?file=%2Fsrc%2FApp.tsx%3A13%2C11&layou…
-
![Screenshot 2024-04-24 082139](https://github.com/Hacker0x01/react-datepicker/assets/83942579/65454270-19d0-48a9-9c1d-f4a53c04c8d2)
**Describe the bug**
./node_modules/date-fns/startOfISOWeek.mjs…
-
**Description of the Issue and Steps to Reproduce:**
Since `date-fns@3` a `string` is a valid input as date. With the dfns pipes it is not:
```ts
export type DateFnsInputDate = number | Date;
…
-
**Description**:
migration moment.js to date-fns
**Why**:
Moment is lagacy project. And it might cause a huge performance overhead because of its complex APIs and large bundle size.
[momen…
-
### Canvas Link
https://learning.flatironschool.com/courses/7022/pages/npm-code-along?module_item_id=624563
### Concern
Had a student go through this and when running
npm install date-fns
It inst…
-
https://github.com/plaid/pattern/blob/15bce0377ec18972d2ceec55a2a734783dfa8a2a/client/package.json#L10
v 1.29
import { distanceInWords, parse } from 'date-fns';
->2.27.0
import { formatD…