Sergih28 / groc

Grind for the vision, revamp for precision, organize with decision, complete the mission.
MIT License
3 stars 0 forks source link

Decide what js date library to use #35

Closed Sergih28 closed 8 months ago

Sergih28 commented 8 months ago

A decision has to be made regarding what js date library to use, as I think it will be useful when doing calculations with dates.

Sergih28 commented 8 months ago

@ehdlg Could you please take a look of what js date libraries are out there and what are the one/s you think it would be more useful to use in the project?

Preferably, I'd like it to not be a very heavy library, as it will mainly be used to calculate the time from one date to another.

And the ease of use is something to keep in mind as well.

ehdlg commented 8 months ago

@Sergih28 Among the date libraries that I found, Day.js, Date-fns, and Moment.js are prominent choices.

Considering the project's focus on avoiding bloat and prioritizing essential features, Day.js emerges as the right choice in my opinion.

Sergih28 commented 8 months ago

Sounds good to me :+1:

@ehdlg Could you add a new decision file for this?

Sergih28 commented 8 months ago

@ehdlg Install dayjs library.

(Remove the "^" from all the libraries installed in package json please)