dateformat.patch

Max Meier, 2010-08-09 09:15

Download (506 Bytes)

View differences:

app/controllers/attach_screenshot_controller.rb
33 33
  private
34 34

  
35 35
  def make_tmpname(date, name = "screenshot.png")
36
    sprintf('%d_%d%s', User.current.id, date, name)
36
    sprintf('%d_%s%s', User.current.id, date, name)
37 37
  end
38 38
end