You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
This is a plugin acceptance proposal for
date-fnsorday-jsDates are sent as ISO strings in API responses. This is standard practice for JSON, in our previous
prestansbased 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 toprestansto 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.