Playing with dates and times with Magento 2 + Moment.js
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Block Initial commit Jan 18, 2017
Controller/Index Initial commit Jan 18, 2017
Model Quick fix for ISO formatting Jan 21, 2017
etc Initial commit Jan 18, 2017
view/frontend Initial commit Jan 18, 2017
README.md Update README.md Jan 19, 2017
composer.json Initial commit Jan 18, 2017
registration.php Initial commit Jan 18, 2017

README.md

This extension is an example for formatting date / times and displaying them nicely with moment.js and Magento 2.

Please read blogpost here: http://www.herveguetin.com/formatting-date-times-and-displaying-them-nicely-with-moment-js

Install

# From your Magento 2 install dir
composer require herve/date-time-example
php bin/magento module:enable Herve_DateTimeExample
php bin/magento setup:upgrade

Usage

Once the extension is installed on your Magento 2 instance, just go to http://your.domain/herve_datetimeexample