Method: Time#strftime
- Defined in:
- lib/unixcmd/aux.rb
#strftime(format) ⇒ Object
73 74 75 76 77 78 79 |
# File 'lib/unixcmd/aux.rb', line 73 def strftime(format) if ENV['LANG'] == 'ru_RU.UTF-8' format = format.sub '%x', '%d.%m.%Y' end return old_strftime(format) end |