Skip to content

Refactor

Pre-release
Pre-release
Compare
Choose a tag to compare
@edgrosvenor edgrosvenor released this 05 Jul 02:11
· 1 commit to main since this release

Using DateTime() now instead of strtotime to generate the resulting timestamp so that I can easily add modifiers for things like "next" and "a week from" in the next iteration.

Throw an exception if a string is passed that does not appear to contain a date or time.

Added support for yesterday and tomorrow.