Gathering detailed insights and metrics for vue3-persian-datetime-picker
Gathering detailed insights and metrics for vue3-persian-datetime-picker
Gathering detailed insights and metrics for vue3-persian-datetime-picker
Gathering detailed insights and metrics for vue3-persian-datetime-picker
persian-datetime-picker-vue
A vue plugin to select jalali date and time base on dayjs
saraf-vue3-persian-datetime-picker
SARAF CUSTOMIZED vue plugin to select jalali date and time
@hamedg/vue3-persian-datetime-picker
A vue plugin to select jalali date and time
@pseudolime/vue3-persian-date-picker
A vue plugin to select jalali date and time
A vue plugin to select jalali date and time
npm install vue3-persian-datetime-picker
Typescript
Module System
Node Version
NPM Version
66.5
Supply Chain
95.9
Quality
73.9
Maintenance
100
Vulnerability
98.6
License
Vue (68.1%)
SCSS (16.72%)
JavaScript (14.5%)
HTML (0.54%)
Shell (0.14%)
Total Downloads
167,231
Last Day
415
Last Week
1,906
Last Month
7,998
Last Year
91,345
176 Stars
59 Commits
18 Forks
2 Watchers
2 Branches
3 Contributors
Updated on May 28, 2025
Minified
Minified + Gzipped
Latest Version
1.2.2
Package Id
vue3-persian-datetime-picker@1.2.2
Unpacked Size
549.40 kB
Size
118.37 kB
File Count
28
NPM Version
8.3.0
Node Version
14.17.5
Cumulative downloads
Total Downloads
Last Day
26.5%
415
Compared to previous day
Last Week
8.8%
1,906
Compared to previous week
Last Month
9.6%
7,998
Compared to previous month
Last Year
86.7%
91,345
Compared to previous year
A vue plugin to select jalali date and time
See documentation and demo at vue-persian-datetime-picker.
If you are using vuejs 2, please refer to this repository.
1<script src="https://unpkg.com/vue@next"></script> 2<script src="https://cdn.jsdelivr.net/npm/moment"></script> 3<script src="https://cdn.jsdelivr.net/npm/moment-jalaali@0.9.4/build/moment-jalaali.js"></script> 4<script src="/dist/vue3-persian-datetime-picker.umd.min.js"></script> 5<div id="app"> 6 <date-picker v-model="date"></date-picker> 7</div> 8<script> 9 Vue.createApp({ 10 data: function() { 11 return { 12 date: '1400/01/01' 13 } 14 }, 15 components: { 16 DatePicker: Vue3PersianDatetimePicker 17 } 18 }).mount('#app') 19</script>
1npm install vue3-persian-datetime-picker --save
Configuration for moment to ignore loading locales:
1// vue.config.js: 2module.exports = { 3 //.. 4 configureWebpack: { 5 plugins: [new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/)] 6 }, 7 //... 8}
vitejs configuration:
1// vite.config.js 2// ... 3export default defineConfig({ 4 // ... 5 resolve: { 6 mainFields: [ 7 'browser', 8 'module', 9 'main', 10 'jsnext:main', 11 'jsnext' 12 ] 13 } 14})
1// main.js 2 3import { createApp } from 'vue' 4import Vue3PersianDatetimePicker from 'vue3-persian-datetime-picker' 5const app = createApp({}) 6app.component('DatePicker', Vue3PersianDatetimePicker) 7app.mount('#app')
Or in component
1<template> 2 <date-picker v-model="date"></date-picker> 3</template> 4 5<script> 6 import DatePicker from 'vue3-persian-datetime-picker' 7 export default { 8 data(){ 9 return { 10 date: '' 11 } 12 }, 13 components: { DatePicker } 14 } 15</script>
1// main.js 2 3import Vue3PersianDatetimePicker from 'vue3-persian-datetime-picker' 4const app = createApp({}) 5app.use(Vue3PersianDatetimePicker, { 6 name: 'CustomDatePicker', 7 props: { 8 format: 'YYYY-MM-DD HH:mm', 9 displayFormat: 'jYYYY-jMM-jDD', 10 editable: false, 11 inputClass: 'form-control my-custom-class-name', 12 placeholder: 'Please select a date', 13 altFormat: 'YYYY-MM-DD HH:mm', 14 color: '#00acc1', 15 autoSubmit: false, 16 //... 17 //... And whatever you want to set as default. 18 //... 19 } 20})
Then use in component
1<custom-date-picker v-model="date"></custom-date-picker>
This project is licensed under the MIT License
custom-input
input-attrs
@next-month
and @prev-month
events@year-change
and @month-change
eventsNo vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 2/28 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
82 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More