Permalink
Browse files

Added docs about built-in time zone support

assuming proper ISO 8601 timestamps
  • Loading branch information...
1 parent 7866aec commit d09fbe5247f78dd114b8051231bd294860d82737 @rmm5t committed Jun 4, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 index.html
View
@@ -159,6 +159,16 @@
jQuery("time.timeago").timeago();
});</pre>
+ <p>
+ Are you concerned about time zone support? Don't be. Timeago handles
+ this too. As long as your timestamps are
+ in <a href="http://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a> format
+ and include a
+ full <a href="http://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators">time
+ zone designator</a> (±hhmm), everything should work out of the box
+ regardless of the time zone that your visitors live in.
+ </p>
+
<h3>Huh?</h3>
<p class="last">
Need a Rails helper to make those fancy microformat <tt>abbr</tt> tags? Fine, here ya go:

0 comments on commit d09fbe5

Please sign in to comment.