breadlesscode/neos-localized-date

There is no license information available for the latest version (v1.0.1) of this package.

A small Eel helper for Neos CMS with which you can format Dates localized

Maintainers

👁 breadlesscode

Package info

github.com/breadlesscode/neos-localized-date

Type:neos-plugin

pkg:composer/breadlesscode/neos-localized-date

Statistics

Installs: 25

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 1

v1.0.1 2018-02-13 15:16 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Unknown License 11e8e38927e49c75d729ca7d1d692743068b83c9

This package is auto-updated.

Last update: 2026-06-22 01:38:26 UTC


README

👁 Latest Stable Version
👁 Downloads
👁 License
👁 GitHub stars
👁 GitHub watchers

A little Eel helper for date localization.

Installation

Most of the time you have to make small adjustments to a package (e.g., the configuration in Settings.yaml). Because of that, it is important to add the corresponding package to the composer from your theme package. Mostly this is the site package located under Packages/Sites/. To install it correctly go to your theme package (e.g.Packages/Sites/Foo.Bar) and run following command:

composer require breadlesscode/neos-localized-date --no-update

The --no-update command prevent the automatic update of the dependencies. After the package was added to your theme composer.json, go back to the root of the Neos installation and run composer update. Your desired package is now installed correctly.

Usage

The format parameter is using the strftime() format and the locale parameter is optional.

 ${ LocalizedDate.format(Date.now(), '%d %B %G', 'de_DE') }

Configuration

Breadlesscode:
 LocalizedDate:
 defaultLocale: 'de_DE.utf8' # this locale is the default if no locale is given in Eel helper

License

The MIT License (MIT). Please see License File for more information.