You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question: Are you interested in a PR to add timezone relative dates to the library?
ie
const thingy = {
date: new Date(),
};
TOML.stringify(thingy);
// date = 2020-07-03T22:21:32.426Z
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?
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?
The text was updated successfully, but these errors were encountered:
randallb
changed the title
Representing dates with timezone offset?
Can i do a PR to represent dates with timezone offset?
Jul 3, 2020
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?
The text was updated successfully, but these errors were encountered: