pat-display-time

0.0.3 • Public • Published

pat-display-time

A Patternslib pattern.

A pattern to make use of moment.js (momentjs.com, github) with PatternsLib.

This pattern's name is pat-display-time. It is activated on a DOM element by giving the element the HTML class pat-display-time and a datetime attribute.

For example:

    <time class="pat-display-time" datetime="2015-01-20T08:00Z">20 January 2015, 08:00</time>

Development

For standalone development run (installation and starting a server):

    > make all

To clean up local directory (after running make all) run:

    > make clean

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i pat-display-time

    Weekly Downloads

    0

    Version

    0.0.3

    License

    BSD-3-Clause

    Last publish

    Collaborators

    • pilz