Skip to content

parseISO behaves different when time is provided and not provided in input string #2336

Discussion options

You must be logged in to vote

Never mind. I missed the 'Z' part in the date string. If dateString without 'Z' is given the function will always adjust for TZ

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lokeshpathrabe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant