Module: Lite::Ruby::TimeHelper
- Included in:
- Time
- Defined in:
- lib/lite/ruby/helpers/time_helper.rb
Constant Summary collapse
- TIME_UNITS =
{ h: 'H', hour: 'H', hour_padded: 'H', hh: 'k', HOUR: 'k', hour_blank: 'k', hhh: 'I', hour_12: 'I', hour_12_padded: 'I', hhhh: 'l', HOUR_12: 'l', hour_12_blank: 'l', n: 'M', minute: 'M', s: 'S', second: 'S', ampm: 'P', meridian: 'P', AMPM: 'p', MERIDIAN: 'p', z: 'z', time_zone: 'z', zz: ':z', time_zone_offset: ':z', zzz: '::z', time_zone_offset_full: '::z', zzzz: 'Z', time_zone_name: 'Z' }.freeze