mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-24 14:56:43 +00:00
removed random blob of code in readme
This commit is contained in:
parent
5abaec66ae
commit
6584d0f1f0
@ -195,7 +195,7 @@ of d/my/yy. By default the plugin uses the US formats as this is the Ruby defaul
|
|||||||
when it does date interpretation, and is in keeping PoLS (principle of least
|
when it does date interpretation, and is in keeping PoLS (principle of least
|
||||||
surprise).
|
surprise).
|
||||||
|
|
||||||
To switch to using the :after => 1.day.from_nowEuropean (or Rest of The World) formats put this in an
|
To switch to using the European (or Rest of The World) formats put this in an
|
||||||
initializer or environment.rb
|
initializer or environment.rb
|
||||||
|
|
||||||
ValidatesTimeliness::Formats.remove_us_formats
|
ValidatesTimeliness::Formats.remove_us_formats
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user