Skip to content

Unable to set date on simplest example #2836

Closed Answered by Eonasdan
craig-hannah asked this question in Q&A
Discussion options

You must be logged in to vote

The error is correct. Your format string does not match the input you gave. The T in the string is AM/PM. If you need that to represent the letter "T" then you need to escape it like this [T]

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Eonasdan
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants