Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.45 KB

CHANGELOG.md

File metadata and controls

39 lines (28 loc) · 1.45 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Version 2.0.0] - 2019-04-18

  • Forked stevegrunwell/time-constants and added first date constants

Version 1.1.0 - 2019-01-01

  • Addition of both ONE_SECOND and ONE_MINUTE, which are both equal to 1 (#2).
  • Conform to the PSR-2 coding standards (#3).
  • Adjustments to the PHPUnit and Travis CI configuration files.

Version 1.0.0 - 2018-03-21

Initial public release of the library, with the following constants:

  • MINUTE_IN_SECONDS (60 seconds)
  • HOUR_IN_SECONDS (3600 seconds)
  • DAY_IN_SECONDS (86,400 seconds)
  • WEEK_IN_SECONDS (604,800 seconds)
  • MONTH_IN_SECONDS (2,592,000 seconds)
  • YEAR_IN_SECONDS (31,536,000 seconds)
  • HOUR_IN_MINUTES (60 minutes)
  • DAY_IN_MINUTES (1,440 minutes)
  • WEEK_IN_MINUTES (10,080 minutes)
  • MONTH_IN_MINUTES (43,200 minutes)
  • YEAR_IN_MINUTES (525,600 minutes)