Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Get the increment of time (string), increment 30 mins
def get_hoge_times {|i| (Time.parse('0:00') + 30.minutes * i).strftime('%H:%M')}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.