2017 © Pedro Peláez
 

neos-plugin neos-localized-date

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

image

breadlesscode/neos-localized-date

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

  • Tuesday, February 13, 2018
  • by Marvvvv
  • Repository
  • 1 Watchers
  • 1 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 10 % Grown

The README.md

Neos localized date

Latest Stable Version Downloads License GitHub stars GitHub watchers, (*1)

A little Eel helper for date localization., (*2)

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:, (*3)

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., (*4)

Usage

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

    ${ 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., (*6)

The Versions

13/02 2018

dev-master

9999999-dev

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

  Sources   Download

The Requires

 

13/02 2018

v1.0.1

1.0.1.0

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

  Sources   Download

The Requires

 

13/02 2018

v1.0.0

1.0.0.0

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

  Sources   Download

The Requires