Đăng Khánh
Đăng Khánh
Thanks @ryanbrainard
Hello @adzap , Thanks for your reply. I had tried with your code. But It seem does not work ``` #config/initializers/validates_timeliness.rb ValidatesTimeliness.setup do |config| config.extend_orms = [ :active_record ] config.use_plugin_parser...
@adzap I just want It accepts 2 formats `yyyy-mm-dd hh:nn:ss` or `yyyy/mm/dd hh:nn:ss` If we remove format option in model. It also accepts other types. Such as `11-11-2011 11:11:11` ,...
It is read from CSV file, If it is web form then we can validate in client side :) Thanks for your help (y)