adzap / validates_timeliness

Date and time validation plugin for ActiveModel and Rails. Supports multiple ORMs and allows custom date/time formats.
MIT License
1.59k stars 227 forks source link

Allow block/symbol as option[:format] for date/time/datetime validation #112

Open kjcpaas opened 10 years ago

kjcpaas commented 10 years ago

It would be nice to implement this since there are some cases wherein the formats are based some object's attributes (not fixed for the entire application). One example is when the user can set his/her preferred format.