Gathering detailed insights and metrics for vue-persian-datetime-picker
Gathering detailed insights and metrics for vue-persian-datetime-picker
Gathering detailed insights and metrics for vue-persian-datetime-picker
Gathering detailed insights and metrics for vue-persian-datetime-picker
vue3-persian-datetime-picker
A vue plugin to select jalali date and time
persian-datetime-picker-vue2
A vue plugin to select jalali date and time base on dayjs
persian-datetime-picker-vue
A vue plugin to select jalali date and time base on dayjs
@topapplication/vue-persian-datetime-picker
A vue plugin to select jalali date and time
npm install vue-persian-datetime-picker
Typescript
Module System
Node Version
NPM Version
Vue (65.67%)
JavaScript (18.27%)
SCSS (15.82%)
Shell (0.25%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
590 Stars
293 Commits
80 Forks
8 Watchers
3 Branches
5 Contributors
Updated on Jun 18, 2025
Latest Version
2.10.4
Package Id
vue-persian-datetime-picker@2.10.4
Unpacked Size
500.77 kB
Size
118.75 kB
File Count
25
NPM Version
8.3.0
Node Version
14.17.5
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
19
A vue plugin to select jalali date and time
See documentation and demo at vue-persian-datetime-picker
If you are using vuejs 3, please refer to this repository.
1<script src="https://cdn.jsdelivr.net/npm/vue"></script> 2<script src="https://cdn.jsdelivr.net/npm/moment"></script> 3<script src="https://cdn.jsdelivr.net/npm/moment-jalaali@0.9.2/build/moment-jalaali.js"></script> 4<script src="/dist/vue-persian-datetime-picker.umd.min.js"></script> 5<div id="app"> 6 <date-picker v-model="date"></date-picker> 7</div> 8<script> 9var app = new Vue({ 10 el: '#app', 11 data: { 12 date: '1397/02/02' 13 }, 14 components: { 15 DatePicker: VuePersianDatetimePicker 16 } 17}); 18</script>
1npm install vue-persian-datetime-picker --save
Configuration for moment to ignore loading locales
1// webpack.config.js: 2module.exports.plugins = [ 3 //... 4 new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/) 5 //... 6] 7 8// vue.config.js: 9module.exports = { 10 //.. 11 configureWebpack: { 12 plugins: [new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/)] 13 }, 14 //... 15}
1// main.js 2//... 3import VuePersianDatetimePicker from 'vue-persian-datetime-picker'; 4Vue.component('date-picker', VuePersianDatetimePicker); 5//...
Or in component
1<template> 2 <div> 3 <date-picker v-model="date"></date-picker> 4 </div> 5</template> 6 7<script> 8import VuePersianDatetimePicker from 'vue-persian-datetime-picker' 9export default { 10 data(){ 11 return { 12 date: '' 13 } 14 }, 15 components: { 16 datePicker: VuePersianDatetimePicker 17 } 18} 19</script>
1// main.js 2import VuePersianDatetimePicker from 'vue-persian-datetime-picker'; 3Vue.use(VuePersianDatetimePicker, { 4 name: 'custom-date-picker', 5 props: { 6 inputFormat: 'YYYY-MM-DD HH:mm', 7 format: 'jYYYY-jMM-jDD HH:mm', 8 editable: false, 9 inputClass: 'form-control my-custom-class-name', 10 placeholder: 'Please select a date', 11 altFormat: 'YYYY-MM-DD HH:mm', 12 color: '#00acc1', 13 autoSubmit: false, 14 //... 15 //... And whatever you want to set as default 16 //... 17 } 18});
Then use in component
1<custom-date-picker v-model="date" />
This project is licensed under the MIT License
custom-input
input-attrs
@next-month
and @prev-month
events@year-change
and @month-change
eventsauto-submit
and multiple
togetherdate
only)escape
key, fixes #141date
only)compat-time
to display time on the front page (in datetime mode)convert-numbers
prop that converts numbers to persian in fa locale: <date-picker convert-numbers />
<date-picker type="year-month" />
. fixed #70<date-picker type="datetime" :timezone="true" />
. fixed #33<date-picker locale="en" />
<date-picker type="time" :jumpMinute="5" :roundMinute="true" />
<date-picker :clearable="true" />
<date-picker :inline="true" />
tab
key press problemmin-max
changesNo 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 1/29 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
93 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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