Created
June 22, 2015 06:22
-
-
Save vu2/fff194827f6f40304a29 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
/ja.yml | |
ja: | |
datetime: | |
distance_in_words: | |
half_a_minute: "<span class='human-date-now'>たった今</span>" | |
/ page.html.erb | |
<style>.human-date-now{color: red;}</style> | |
<%= time_ago_in_words(data.updated_at).html_safe %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment