Created
June 22, 2015 16:42
-
-
Save theinventor/4ad754d1fe53479f9c3e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
idnexworkrer: | |
account.setup_locale | |
(USA) I18n.l(t.created_at.to_date) => "6/22/15" | |
(UK) I18n.l(t.created_at.to_date) => "22-06-2015" | |
def localized_created_at | |
end | |
def localized_due_date | |
end | |
index(dates): created_at, updated_at, due_date, | |
index(strings): localized_created_at, localized_due_date | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment