wrapp-archive / validate.js

Declarative validation written in javascript
http://validatejs.org/
178 stars 18 forks source link

Improve the datetime formatting and parsing #5

Closed ansman closed 9 years ago

ansman commented 10 years ago

If we are to truly share validations between languages we need to be able to specify date formats that are library agnostic.

Perhaps they should be restricted to simpler formats only containing year, month, day, hour, minutes, second and timezone for portability.

This would also make it simpler to support more than one library and perhaps even the built in date parser in javascript.