These are chat archives for canjs/canjs

3rd
May 2018
Eben
@eben-roux
May 03 2018 19:59
hello all, I'm trying to add a datetime validation to my model like so:
image.png
but I'm getting the following error in the console: Both the parse and format functions needs to be set to use the datetime/date validator
It is pretty obvious that I need to configure the two functions for validate.js but I don't quite know how.
any pointers or a sample I could look at for this?