module Dates
Defined in:
dates.crInstance Method Summary
- #calculate_created_time_ago(created_at : Time) : String
- #format_date_time(date_time : Time) : String
- #parse_date_time(formatted_time : String) : Time
- #prepare_date_range_different_days(starting_time : String, ending_time : String | Nil = Time.utc.to_s) : Tuple(Time, Time)
- #prepare_date_range_same_day(date : String | Nil = Time.utc.to_s) : Tuple(Time, Time)
- #set_end_date(end_time : String | Nil) : String
Instance Method Detail
def prepare_date_range_different_days(starting_time : String, ending_time : String | Nil = Time.utc.to_s) : Tuple(Time, Time)
#
def prepare_date_range_same_day(date : String | Nil = Time.utc.to_s) : Tuple(Time, Time)
#