Closed 4geru closed 2 years ago
I would like to use date end of workday. like time object.
BusinessTime::Config.beginning_of_workday.strftime("at %I:%M")
so I add strftime method. Also I thought BusinessTime::ParsedTime should be return Time or DateTime object. it has hour, min, sec, but it cannot use simiilar to use Time or DateTime. So, I add to_time, to_datetime method :)
strftime
BusinessTime::ParsedTime
@bokmann May I ask for a review?
background
I would like to use date end of workday. like time object.
so I add
strftime
method. Also I thoughtBusinessTime::ParsedTime
should be return Time or DateTime object. it has hour, min, sec, but it cannot use simiilar to use Time or DateTime. So, I add to_time, to_datetime method :)