Skip to content


Use standard timezone offsets instead of minutes in strftimeTZ #33

Fauntleroy opened this Issue · 2 comments

2 participants


When working with dates, you'll usually see the timezone offset written like this: 2014-01-29T00:00:00-0500, as [-]HHMM without a separating colon. It would be great if we could somehow roll in a way to pass the timezone offset this way. Perhaps if you pass a string, like "-0500" (rather than -500), it could use the standard date offset, and if it's an integer, it could use the minutes offset. Maybe not the best idea, but I'm pretty sure that would work in a pinch.

What do you think?

@samsonjs samsonjs closed this in 99382d2

Yeah I can see how that's useful. Done! Will roll it into the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.