All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
View all Unreleased changes here
- Added methods
seconds_to_weeks
,seconds_to_days
,weeks_to_seconds
, anddays_to_seconds
- Added flags
FLAG_INCLUDE_WEEKS
,FLAG_INCLUDE_DAYS
,FLAG_INCLUDE_HOURS
, andFLAG_PAD_STRING
for use in calls tohuman_readable_time()
- Added constants
SECONDS_IN_MINUTE
,MINUTES_IN_HOUR
,HOURS_IN_DAY
,DAYS_IN_WEEK
,ONE_MINUTE
,ONE_HOUR
,ONE_DAY
, andONE_WEEK
human_readable_time()
accepts flags instead of$pad
value- Added support to
human_readable_time()
for displaying weeks and days
human_readable_time()
was not producing accurate results. This has been fixed
- Fixed CHANGELOG version info
- Initial release