Validate DateTime using validator and luxon #3428
Unanswered
dmeinke-etc
asked this question in
Help
Replies: 1 comment
-
I have found to just send it as a string |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to convert a date to datetime to insert into a timestamp filed in mysql
Model
@column() public prospectus_date: DateTime
Controller
await Fund.create({ ...... prospectus_date: data.prospectus_date, })
Edge
<input type="date" name="prospectus_date" class="form-control" id="prospectus_date" placeholder="Prospectus Date"> </div>
It just doesn't seem to want to format correctly
Beta Was this translation helpful? Give feedback.
All reactions