我目前有
format = '%d%m%Y:%H:%M:%S'
date_time = '30/Jun/2013:07:38:27'
puts DateTime.strptime(date_time, format)
返回
ArgumentError: invalid date
from (irb):95:in 'strptime'
from (irb):97
from (irb):usr/bin/irb:12:in '<main>'
我怎样才能使这项工作?
谢谢!