README.md in local_time-1.0.1 vs README.md in local_time-1.0.2
- old
+ new
@@ -92,11 +92,11 @@
<%= local_relative_time(time, type: 'time-or-date') %>
```
**Available `:type` options**
-* `date` Inlcudes the year unless it's current. "Apr 11" or "Apr 11, 2013"
+* `date` Includes the year unless it's current. "Apr 11" or "Apr 11, 2013"
* `time-ago` See above. `local_time_ago` calls `local_relative_time` with this `:type` option.
* `time-or-date` Displays the time if it occurs today or the date if not. "3:26pm" or "Apr 11"
* `weekday` Displays "Today", "Yesterday", or the weekday (e.g. Wednesday) if the time is within a week of today.
* `weekday-or-date` Displays the weekday if it occurs within a week or the date if not. "Yesterday" or "Apr 11"
@@ -124,9 +124,13 @@
> LocalTime.strftime(new Date, "%B %e, %Y %l:%M%P")
"February 9, 2014 12:55pm"
```
#### Version History
+
+**1.0.2** (February 3, 2015)
+
+* Fix displaying future relative dates [Cezary Baginski]
**1.0.1** (December 3, 2014)
* Added `weekday-or-date` option [Chew Choon Keat]