Get the increment of time (string), increment 30 mins
def get_hoge_times | |
48.times.map.each_with_index {|i| (Time.parse('0:00') + 30.minutes * i).strftime('%H:%M')} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment