-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
There is a function convertDate that is defined in two different places here. Two problems with this code:
- If the time change required (for time zone of owner) changes the date, this code doesn't compute the correct date.
- When this is fixed, it will have to be done in both places (so maybe there should only be one place?)
Another possibility would be to use code that already exists, rather than rolling our own (and risking this kind of problem), for example, either moment or strftime ought to provide what we need.
Reactions are currently unavailable