Sha256: f1c00ae9417fb7fcb153847ca7c99f402cb8b210624c47915f83fa42fe3a45d1
Contents?: true
Size: 218 Bytes
Versions: 12
Compression:
Stored size: 218 Bytes
Contents
module Kaui module DateHelper def format_date(date, timezone="Pacific Time (US & Canada)") parsed_date = DateTime.parse(date.to_s).in_time_zone(timezone) parsed_date.to_s(:date_only) end end end
Version data entries
12 entries across 12 versions & 1 rubygems