activeadmin-plugins / active_admin_datetimepicker

:calendar: active_admin_datetimepicker gem
MIT License
72 stars 48 forks source link

Fix parsing datetime input values #75

Closed Skumring closed 2 years ago

Skumring commented 2 years ago

Normalizing working with Date & Time input values to make possible searching by virtual attributes or resources based not only on ActiveRecord, for example, based on ActiveModel, OpenStruct etc.. Virtual attributes don't have a typecasting (column&type properties) - the gem just crashed when trying to work with attributes like just a formatted string of DateTime.