RubyGems Navigation menu

time_of_day_attr 0.0.2

Adds time_of_day_attr to your models. Will try to convert time of day to seconds since midnight when a string was set. Localized formats for conversation can be added to your translation files. TimeOfDayAttr.localize converts seconds since midnight back to time of day.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 3.0.0 - July 21, 2018 (8 KB)
  2. 3.0.0.beta.3 - July 21, 2018 (8 KB)
  3. 3.0.0.beta.2 - July 21, 2018 (8 KB)
  4. 3.0.0.beta.1 - July 21, 2018 (8 KB)
  5. 2.0.1 - March 01, 2017 (7.5 KB)
  6. 0.0.2 - December 29, 2013 (6 KB)
Show all versions (16 total)

Runtime Dependencies (1):

rails ~> 3.2.14

Development Dependencies (1):

sqlite3 >= 0

Owners:

Authors:

  • Clemens Teichmann

SHA 256 checksum:

ba751bf35838b05670db0f09147ec9d3d3b2f22cf012901ce7d4e50579a6017e

Total downloads 88,950

For this version 2,397

Licenses:

N/A

Required Ruby Version: None

Links: