“...I've been working since 2008 with Ruby / Ruby on Rails, love a bit of Elixir / Phoenix and learning Rust. I also poke through other people's code and make PRs for OpenSource Ruby projects that sometimes make it. Currently working for InPay...”

Rob Lacey
Senior Software Engineer, UK

Change your Rails time and date formats in i18n translation locales

Needed to tweak the time format from the default “Sat, 27 Sep 2014 17:32:10 +0000” to “September 27, 2014 at 17:32”. You can do this in config/locales/en.yml like so

en:
  site_name: "RobL"

  date:
    formats:
      default: "%Y-%m-%d"
      short: "%b %d"
      long: "%B %d, %Y"
  time:
    formats:
      default: "%B %d, %Y at %H:%m"
GPK of the Day Charred CHAD