Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pat-display-time

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pat-display-time

A pattern that renders a timestamp nicely

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

Keywords

FAQs

Package last updated on 23 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc