Skip to content

Web Component to render (relative) time in different formats, capable of updating itself.

License

Notifications You must be signed in to change notification settings

axians/axians-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Axians Time

This custom element can be use to display timestamps in different formats and also relative to the current time.

Installation

Install with yarn add @axians/axians-time.

Usage

<axians-time timestamp="2019-08-06T12:30:00" relative></axians-time>

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request!

History

  • 2.0.0 LitElement release
  • 1.0.0 Initial release

License

Apache 2.0

About

Web Component to render (relative) time in different formats, capable of updating itself.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published