Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Date.today.strftime "%b %d, '%y"
- Time.now.strftime "%I:%M%p"
- # config/locales/custom.yml
- custom:
- time:
- formats:
- short: "%b %d, '%y"
- <p><%= l Time.now, :format => :short %></p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement