Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

LAP: date-fns or dayjs #18

Open
devraj opened this issue Sep 26, 2022 · 0 comments
Open

LAP: date-fns or dayjs #18

devraj opened this issue Sep 26, 2022 · 0 comments

Comments

@devraj
Copy link
Member

devraj commented Sep 26, 2022

This is a plugin acceptance proposal for date-fns or day-js

Dates are sent as ISO strings in API responses. This is standard practice for JSON, in our previous prestans based stack we had a wrapper (as we controlled the server and generated code) where it would be able to parse the date strings on the client and the application could hand that off to prestans to do.

Having moved our stack we have lost this function and will have to handle this on our own.

date-fns seems to be a comprehensive and easy to. use library. I put forward this to be included as a standard issue for our applications.

day-js is also an equivalent competitor.

It will also be useful for us to outline some standard use cases.

@devraj devraj self-assigned this Sep 26, 2022
@devraj devraj changed the title PAP date-fns PAP: date-fns Sep 26, 2022
@devraj devraj changed the title PAP: date-fns LAP: date-fns Sep 26, 2022
@devraj devraj changed the title LAP: date-fns LAP: date-fns or dayjs Oct 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant