Releases: paranoiq/dogma
Releases · paranoiq/dogma
v0.1.19
- Fixed day of week name and shortcut getter
v0.1.17
- Added DateTime::createFromAnyFormat() and safe formats
- Human readable pack() function constants
v0.1.16
- BC Break: fixed default value on split() and splitBy() on FloatInterval and TimeInterval
- Methods map() and collect() on all interval sets can receive self or array of intervals
v0.1.15
- Application\Configurator allowes ?? through __isset()
v0.1.14
- TimeProvider has parameter for TimeZone
- future() and past() constructors for DateTime/Date/NightInterval
- hasSeconds() and hasMicroseconds() for Time and DateTime
- added DayOfYear + Interval + Set
v0.1.13
- add 3-letter country codes
- better os detection
v0.1.12
- Compatibility with Nette 3.0
- BC Break: Str no longer inherits from Nette\Utils\Strings
- BC Break: Date is now based on Julian Day Count (previously on count of days since 1.1. year 1) - fixes bugs with DateTime::diff() returning bullshit for longer intervals
v0.1.11
- BC break: Renamed map() on interval sets to collect(), added real map()
- Add DateDataInterval and set
- Add DaysOfWeek
- Add Date::addDays() and subtractDays()
- Add Pokeable interface for debug dumps
- Fixes of compare() and intersect() on intervals
- Some other fixes
v0.1.10
- Add rounding to a multiple of number
- Add DateTimeInterval::splitByUnit()
- Fix interval set normalisation
- Some other fixes
- Drop currently unused dependency on ext-bcmath