Socket
Socket
Sign inDemoInstall

@escuelait/eit-date-iso-to-local-zone

Package Overview
Dependencies
5
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @escuelait/eit-date-iso-to-local-zone

Webcomponent eit-date-iso-to-local-zone following open-wc recommendations


Version published
Maintainers
2
Install size
7.64 MB
Created

Readme

Source

<eit-date-iso-to-local-zone>

Web component to convert a given string in ISO 8601 format to a any date/time in any format. Based on date-fns and LitElement.

This webcomponent follows the open-wc recommendation.

Installation

npm i eit-date-iso-to-local-zone

Usage

<script type="module">
  import 'eit-date-iso-to-local-zone/eit-date-iso-to-local-zone.js';
</script>

<eit-date-iso-to-local-zone iso="2019-12-05T17:00:00+00:00"></eit-date-iso-to-local-zone>

<eit-date-iso-to-local-zone iso="2020-12-08T19:30:00+00:00" format="eeee 'a' 'las' kk:mm"></eit-date-iso-to-local-zone>

Local Demo with es-dev-server

npm start

To run a local development server that serves the basic demo located in demo/index.html

npm start:compatibility

To run a local development server in compatibility mode for older browsers that serves the basic demo located in demo/index.html

FAQs

Last updated on 29 Nov 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc