diff --git a/lib/webrick/httpservlet/filehandler.rb b/lib/webrick/httpservlet/filehandler.rb index 7ab88bc..56729ae 100644 --- a/lib/webrick/httpservlet/filehandler.rb +++ b/lib/webrick/httpservlet/filehandler.rb @@ -529,7 +529,7 @@ def set_dir_list(req, res) dname = name end s = +"#{HTMLUtils::escape(dname)}" - s << "" << (time ? time.strftime("%Y/%m/%d %H:%M") : "") << "" + s << "" << (time ? time.strftime("%Y-%m-%d %H:%M") : "") << "" s << "" << (size >= 0 ? size.to_s : "-") << "\n" res.body << s }