Date String
#1188
-
How to validate date string and get the deadline: v.pipe(
v.string(),
v.transform(d => new Date(d))
) |
Beta Was this translation helpful? Give feedback.
Answered by
muningis
May 9, 2025
Replies: 2 comments 1 reply
-
You could use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
chertik77
-
This has been fixed, thanks! Issue was with my implementation( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could use
v.isoDate()
to validate whether it's correct ISO8601 datePlayhground