Skip to content

Releases: DivanDesign/EvolutionCMS.snippets.ddGetDate

Version 2.2

07 Apr 08:32
Compare
Choose a tag to compare
  • * 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

07 Apr 08:32
Compare
Choose a tag to compare
  • * Bugfix: undeclared variables in PHP 5.3.
  • * The redundant code has been removed.

Version 2.1.1

07 Apr 08:32
Compare
Choose a tag to compare
  • + Added English support for short formated date (if used shortFormat).

Version 2.1

07 Apr 08:31
Compare
Choose a tag to compare
  • + Added English support in month names (if monthToStr equals 1).

Version 2.0

07 Apr 08:31
Compare
Choose a tag to compare
  • * 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).

Version 1.9

07 Apr 08:31
Compare
Choose a tag to compare
  • * Minor optimization.