Releases: DivanDesign/EvolutionCMS.snippets.ddGetDate
Releases · DivanDesign/EvolutionCMS.snippets.ddGetDate
Version 2.2
- * Attention! PHP >= 5.6 is required.
- * Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.48 is required.
- + You can just call
\DDTools\Snippet::runSnippet
to run the snippet without DB and eval (see README → Examples). - +
\ddGetDate\Snippet
: The new class. All snippet code was moved here. - + README.
- + README_ru.
- + CHANGELOG.
- + CHANGELOG_ru.
- + Composer.json.
Version 2.1.2
- * Bugfix: undeclared variables in PHP 5.3.
- * The redundant code has been removed.
Version 2.1.1
- + Added English support for short formated date (if used
shortFormat
).
Version 2.1
- + Added English support in month names (if
monthToStr
equals1
).
Version 2.0
- * Attention! Backward compatibility is broken.
- * Parameters →
date
:- + Now supports not only unixtime. Added unixtime check and converting with
strtotime()
. - * Value
'current'
was replaced to'now'
(strtotime()
native support).
- + Now supports not only unixtime. Added unixtime check and converting with
Version 1.9
- * Minor optimization.