webpack-bundle-tracker icon indicating copy to clipboard operation
webpack-bundle-tracker copied to clipboard

human-readable datetime

Open keikoro opened this issue 4 years ago • 2 comments

Would it be possible to allow different formatting options for the startTime and endTime values? I find myself needing to check them while experimenting with webpack settings but unix timestamps aren't really that user-friendly. An output of HH:mm:ss would be more helpful.

(Though I'm not sure if toLocaleTimeString() would be best-suited or if it should be the only way to display the datetimes in a more human-readable format. It'd easily work fine locally but might require more fiddling when used on servers or in containers etc.)

keikoro avatar Apr 25 '20 10:04 keikoro

Couldn't agree more with @keikoro - this would be magnitudes better with a human-readable datetime. I end up having to copy and paste into something that 'translates' which shouldn't be necessary.

propkitty avatar Feb 02 '23 19:02 propkitty

Yes, it would be great to use ISO 8601 formatted dates there. But I don't have the bandwidth to work on that right now. PRs are welcome!

fjsj avatar Feb 02 '23 20:02 fjsj