в 2011ǯ07·î19Æü 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)