thomaschampagne/elevate

[Web-Ext][Bug] Activities csv download - time formats

Opened this issue · 1 comments

Describe the bug
Some time formats have been changed compared to the previous version and that is not necessary a good idea.

Release 6 csv file, perfect!

"Date","Moving Time"
"2022-04-06T13:01:49+03:00","00:55:46" (<- EEST)
"2022-03-25T11:32:18+02:00","01:14:03" (<- EET)

Release 7
Date value has no local time information anymore, only GMT
Moving and Total time has no leading zeroes if time is less than an hour. This can cause spreadsheet to interpret values as hours:minutes instead of minutes:seconds

"Date","Moving Time","Total Time"
"2022-04-06T10:01:49.000Z","55:46","55:46" (<- Timezone?, no leading zeroes)
"2022-03-25T09:32:18.000Z","01:14:03","01:14:03" (<- Timezone?)

Environment

  • OS: [Windows 10]
  • Browser name and version: [Chrome v102]
  • Web extension version [7.0.5]
stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.