uwazi icon indicating copy to clipboard operation
uwazi copied to clipboard

Unify date parsing libraries

Open Zasa-san opened this issue 1 year ago • 1 comments

Since moment.js and moment-timezone will no longer developed (https://momentjs.com/docs/#/-project-status/) we should remove that library and unify which one will be used from now on.

We have luxon being used in V2 client components, date-fns is used in the current library datepicker, and any-date-parser is also in the mix.

Zasa-san avatar Oct 09 '23 14:10 Zasa-san

Remember there are two types of date processes: ones that need to offset the user's timezone (date picking a birthday, for example), but also dates that need to keep the timezone: update log. So there needs to be options for both scenarios.

RafaPolit avatar Oct 13 '23 14:10 RafaPolit