README.md in local_time-1.0.0 vs README.md in local_time-1.0.1
- old
+ new
@@ -94,12 +94,13 @@
**Available `:type` options**
* `date` Inlcudes 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's todday. Displays time otherwise. "3:26pm" or "Apr 11"
+* `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"
#### Installation
1. Add `gem 'local_time'` to your Gemfile.
2. Run `bundle install`.
@@ -123,9 +124,13 @@
> LocalTime.strftime(new Date, "%B %e, %Y %l:%M%P")
"February 9, 2014 12:55pm"
```
#### Version History
+
+**1.0.1** (December 3, 2014)
+
+* Added `weekday-or-date` option [Chew Choon Keat]
**1.0.0** (April 12, 2014)
* Added `local_relative_time` helper with several built in types
* Allow `:format` (and `:type`) option as a bare string or value in hash