в 2011ǯ0719 21:42, Annie smith ƻ:
> Hi All,
>
> Do you know how to change date format from Y/m/d to Y-m-d in ruby?
>
> Thanks!
>
def convert!(time)
   time=times.split("/").join("-")
end
convert!("2011/11/11)