Sha256: 85445cc0b6d7ffba0c66225601516575d5786197ad8d610171a3b8b2e694b0f0
Contents?: true
Size: 240 Bytes
Versions: 16
Compression:
Stored size: 240 Bytes
Contents
module Kaui module DateHelper def format_date(date) # TODO: make timezone configurable parsed_date = DateTime.parse(date.to_s).in_time_zone("Pacific Time (US & Canada)") parsed_date.to_s(:date_only) end end end
Version data entries
16 entries across 16 versions & 1 rubygems