Commit graph

6 commits

Author SHA1 Message Date
Joshua Sherman
c865e74ebd Updated headers and dropped tests
The tests weren't complete nor were they being used so I dropped them. Since
this branch is still actively being maintained as it's the PHP 5.3 compatible
stuff I figured I should update the headers to have the current year and
explicitly show that it's PHP 5.3+ and not just PHP 5.
2014-01-26 21:35:56 -05:00
Josh Sherman
d96181c60f Q4 2013, seemed like a good time to update the copyright notices 2013-11-04 17:36:04 -05:00
Josh Sherman
c19ac9fbae Added relative time function
Time::ago($time) will return something like "45 minutes ago" or "45 minutes from now". As always, sticking to GMT/UTC
2012-12-29 11:41:23 -05:00
Josh Sherman
7ed16d9a56 Working on bootstrap
Got Apache config and .htaccess back. PICKLES minified CSS files. Updated Time's static variables to be class constants
2012-10-11 15:27:00 -04:00
Josh Sherman
9fbc4171d7 Added timestamp method
Returns a UT timestamp in the specified format. Defaults to everyone's favorite format Y-m-d H:i:s
2012-10-10 22:30:21 -04:00
Josh Sherman
f884a2e45e Time class
Left Date class for the time being for the time being, aliased the method over to the Time class. Added interval constants as well. Closes #6
2012-10-10 22:09:37 -04:00