Parsing and Format Datetime In Vue Using Luxon Library

An easy-to-use datetime parsing and formatting library for Vue.js, based on Luxon Library.

Basic usage:

1. Import and register the vue-luxon.

import VueLuxon from "vue-luxon";
Vue.use(VueLuxon);

2. Format datetime strings using the luxon filter:

{{ datetimeString | luxonFormat('dd-MM-yyyy') }}

Preview:

Parsing and Format Datetime In Vue Using Luxon Library

Changelog:

11/15/2020

  • v0.10

Download Details:

Author: casbloem

Live Demo: https://github.com/casbloem/vue-luxon

Download Link: https://github.com/casbloem/vue-luxon/archive/master.zip

Official Website: https://github.com/casbloem/vue-luxon

Install & Download:

# NPM
$ npm i vue-luxon --save

Add Comment