Replacement of Kohana's Date::fuzzy_span()
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
classes
i18n
README.md

README.md

Fuzzy Span replacement

This is very simple module that replaces standard Kohana's Date::fuzzy_span method. New implementation is just a port of distance_of_time_in_words() helper from Ruby on Rails.

Usage

Use this module if you are not completely satisfied by Kohana's way of generating fuzzy time distances. You can just add this module to Kohana::modules in your bootstrap.php, that's it.

Credits