Using strftime in a Rails view is probably a mistake
15-Jul-2019 1909
The strftime method appears in many languages, all the way back to C. The syntax of the (mostly impenetrable) formatting arguments haven’t changed that much in years and they’re remarkably consistent across languages.Ruby’s version is comprehensively documented in the Time class.However when strftime is used in your views, there’s a high chance it will lead to confusion and inconsistency.
Using strftime in a Rails view is probably a mistake #ruby #rubydeveloper #rubyonrails #Using #strftime #Rails #probably #mistake https://rubyonrails.ba/link/using-strftime-in-a-rails-view-is-probably-a-mistake