vuejs-community / Vue Filter Date Parse
Licence: mit
Simple date parsing filter for Vue.js
Stars: ✭ 24
Programming Languages
typescript
32286 projects
Projects that are alternatives of or similar to Vue Filter Date Parse
Apifier
Apifier is a very simple HTML parser written in Python based on CSS selectors
Stars: ✭ 5 (-79.17%)
Mutual labels: parse
Chatistics
💬 Python scripts to parse Messenger, Hangouts, WhatsApp and Telegram chat logs into DataFrames.
Stars: ✭ 814 (+3291.67%)
Mutual labels: parse
Leasot
Parse and output TODOs and FIXMEs from comments in your files
Stars: ✭ 729 (+2937.5%)
Mutual labels: parse
Apiauto
☔ 敏捷开发最强大易用的 HTTP 接口工具,机器学习零代码测试、生成代码与静态检查、生成文档与光标悬浮注释。☔ The most advanced tool for HTTP API. Testing with machine learning, generating codes, static analysising, generating documents, generating annotations and floating hints.
Stars: ✭ 820 (+3316.67%)
Mutual labels: vuejs2
Vue Quill Editor
🍡@quilljs editor component for @vuejs
Stars: ✭ 6,874 (+28541.67%)
Mutual labels: vuejs2
Harvest
zec cash mining dashboard for the harvest project using nanopool.org
Stars: ✭ 22 (-8.33%)
Mutual labels: vuejs2
Pokedexvuejs
A Pokedex that will contain all 807 pokemon from the Pokemon series. Created in Vue.js
Stars: ✭ 19 (-20.83%)
Mutual labels: vuejs2
@vuejs-community/vue-filter-date-parse
Simple date parsing filter for Vue.js
Installation
install from npm
$ npm install @vuejs-community/vue-filter-date-parse
and register in you Vue app
import Vue from 'vue';
import VueFilterDateParse from '@vuejs-community/vue-filter-date-parse';
Vue.use(VueFilterDateParse);
Usage
Using with dateFormat filter:
<template>
<div>{{ '10.10.1989' | dateParse('DD.MM.YYYY') | dateFormat('YYYY-MM-DD') }}</div>
</template>
or
<template>
<div>{{ '10.10.89' | dateParse('DD.MM.YY', { epoch: 1900 }) | dateFormat('YYYY-MM-DD') }}</div>
</template>
render as:
<div>1989-10-10</div>
Format Options
Key | Input | |
---|---|---|
Year | YYYY |
2000 2001 ... 2029 2030 |
YY |
00 01 ... 29 30 | |
Month | MM |
01 02 ... 11 12 |
Day | DD |
01 02 ... 30 31 |
Hour | HH |
00 01 ... 22 23 |
Minute | mm |
00 01 ... 58 59 |
Second | ss |
00 01 ... 58 59 |
Default format is YYYY.MM.DD HH:mm:ss
License
MIT © Vue.js Community
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].