Open randallb opened 4 years ago
That seems pretty reasonable to me. I'd prefer to avoid config options: Let's go with it as the new default.
One special note: If the date is currently UTC, then let's not change the current representation. Eg, continue to use the Z
shortcut.
Uh, what do you mean by "how many bytes would you allow me to add"? =D
@iarna I work at FB... bytesize is a big deal to some ppl 😄 . I'll probably knock this out over the weekend.
I got it working, but tests aren't passing. I'll need to make the tests more resilient to this style of datestamp.
Will probably keep going, but might not. :) If someone really wants it, i'll do it, but i'm going to punt on this for my project right now.
Hi totally new to this project... love it btw!
Question: Are you interested in a PR to add timezone relative dates to the library?
ie
I'd like to make it more human editable for my people using the product, so is it possible / plausible to change the stringified date into the user's local timezone?
date = 2020-07-03T21:21:32.426-01:00
Looks like I'd do this in stringify.js
How many bytes would you allow me to add? Should I do this in some sort of external way so you can turn it on and off? Should it be the default behavior?