crystal lang Time strftime

Developer from somewhere

The equivalent for the ruby:

Time.now.strftime("%Y-%m-%d-%H-%M")

is

Time.now.to_s("%Y-%m-%d-%H-%M")