solnic / virtus

[DISCONTINUED ] Attributes on Steroids for Plain Old Ruby Objects
MIT License
3.77k stars 228 forks source link

Date formats #391

Open tramuntanal opened 5 years ago

tramuntanal commented 5 years ago

Hi, I can't find if the format for parsing dates can be configured somewhere. Is it possible to force a given format when parsing dates?

tramuntanal commented 5 years ago

Answering myself, in rectify there's a thread where there's a workaround explained: https://github.com/solnic/virtus/issues/391. And you will find an example of application of the workaround in https://github.com/decidim/decidim.