Posted over 4 years ago. Visible to the public. Linked content.

Customizable date (and time) picker: Rome

Datetime picker that offers:

  • simple UI without a specific framework
  • several of customization options
  • allows custom date/time validations

Localization happens via moment.js (which is a Dependency anyway).

However, you won't be happy trying to customize it too much:

  • It does not support full custom templates, you can only set classes of its elements. If you require extra containers, you are out of luck.
  • It offers only a few events, and you can not distinguish if users pick a date, switch to another month, or click outside of the picker
  • When switching to another month, your date changes immediately.

We've successfully used https://github.com/uxsolutions/bootstrap-datepicker + https://makandracards.com/makandra/42333-clockpicker-android-style-time-picker-for-bootstrap for customized date and time controls.

Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for old versions of Ruby on Rails (3.2 and 2.3).

Owner of this card:

Avatar
Arne Hartherz
Last edit:
about 2 years ago
by Besprechungs-PC
Keywords:
datepicker, timepicker
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Arne Hartherz to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more