VueJS component to select dates & time, including a range mode

Overview

VueCtkDateTimePicker

A vue component for select dates (range mode available) & time

Build Status

This documentation is for v2.*. Find v1 documentation here

vue-ctk-date-time-picker

Dark mode

vue-ctk-date-time-picker

Demo

Enjoy

Installation

Yarn

yarn add vue-ctk-date-time-picker

NPM

npm i --save vue-ctk-date-time-picker

Usage

ES6 Modules / CommonJS

import VueCtkDateTimePicker from 'vue-ctk-date-time-picker';
import 'vue-ctk-date-time-picker/dist/vue-ctk-date-time-picker.css';

Vue.component('VueCtkDateTimePicker', VueCtkDateTimePicker);
<VueCtkDateTimePicker v-model="yourValue" />

UMD

<link
  rel="stylesheet"
  type="text/css"
  href="${YOUR_PATH}/vue-ctk-date-time-picker.css"
/>

<div id="app">
  <VueCtkDateTimePicker v-model="yourValue"></VueCtkDateTimePicker>
</div>

<script src="https://unpkg.com/vue" charset="utf-8"></script>
<script
  src="${YOUR_PATH}/vue-ctk-date-time-picker.umd.min.js"
  charset="utf-8"
></script>

<script type="text/javascript">
  Vue.component('vue-ctk-date-time-picker', window['vue-ctk-date-time-picker']);
  new Vue({
    el: '#app',
    data() {
      return {
        yourValue: null
      };
    }
  });
</script>

Here is an example of UMD implementation.

Use custom element to trigger the component

<VueCtkDateTimePicker :no-value-to-custom-elem="(true|false)" />
  ...
  <input type="text" />
  ... or
  <button type="button">Label</button>
  ...
</VueCtkDateTimePicker>

Props API

Props Type Required Default
v-model String yes -
format String no 'YYYY-MM-DD hh:mm a'
formatted String no 'llll' (momentjs format)
label String no Select date & time
hint (1) String no -
error (2) Boolean no false
color (3) String (hex) no dodgerblue
button-color (4) String (hex) no #00C853
position String no null
locale (5) String no Browser Locale
persistent Boolean no false
minute-interval Integer no 1
output-format String no null
only-time Boolean no false
only-date Boolean no false
no-label Boolean no false
no-header Boolean no false
no-value-to-custom-elem (6) Boolean no false
min-date (7) String no -
max-date (7) String no -
no-weekends-days Boolean no false
auto-close Boolean no false
inline Boolean no false
overlay Boolean no false
range Boolean no false
dark Boolean no false
no-shortcuts Boolean no false
no-button Boolean no false
input-size String (sm or lg) no null
button-now-translation String no 'Now'
no-button-now Boolean no false
first-day-of-week Int (0 to 7) no -
disabled-dates (8) Array<string> no []
disabled-hours (9) Array<string> no -
shortcut String no -
custom-shortcuts (10) Array<object> no -
disabled-weekly (11) Array<integer> no []
no-keyboard (12) Boolean no false
right (13) Boolean no false
noClearButton Boolean no false
behaviour Object no See behaviour
id (14) String no undefined

(1) hint : Is a text that replaces the label/placeholder (Ex : Error designation)

(2) error : When is true --> Input border & label are red

(3) color: Replace color for the hint, the borders & picker color

(4) button-color: Replace color for the buttons on bottom (validation & 'now')

(5) locale : Default value is the locale of the browser - Ex : Set locale="fr" to force to French language

(6) no-value-to-custom-elem : No value will set to your elem (you can get the formatted value with @formatted-value event)

(7) min-date && max-date should be in the same format as property format specified. If format not set - it is set to 'YYYY-MM-DD hh:mm a' by default

(8) Disabled-Dates is an Array of dates in 'YYYY-MM-DD' format (ex: ['2018-04-03', '2018-04-07', '2018-04-09'])

(9) disabled-hours : Must be an Array of hours in 24h format ('00' to '23') : ['00','01','02','03','04','05','06','07','19','20','21','22','23']

(10) custom-shortcuts - It's an array of objects. Each object represents a single shortcut.

[
  { key: 'thisWeek', label: 'This week', value: 'isoWeek' },
  { key: 'lastWeek', label: 'Last week', value: '-isoWeek' },
  { key: 'last7Days', label: 'Last 7 days', value: 7 },
  { key: 'last30Days', label: 'Last 30 days', value: 30 },
  { key: 'thisMonth', label: 'This month', value: 'month' },
  { key: 'lastMonth', label: 'Last month', value: '-month' },
  { key: 'thisYear', label: 'This year', value: 'year' },
  { key: 'lastYear', label: 'Last year', value: '-year' }
];

Shortcut types allowed are : ['day', '-day', 'isoWeek', '-isoWeek', 'quarter', 'month', '-month', 'year', '-year', 'week', '-week'] For each shortcut, a key, label and value must be specified. The key is a unique key for that specific shortcut. Additional values can be passed as a callback function that will be called whenever the user clicks on the shortcut. The callback receives an object as first argument with the start and end values, with the shortcut object itself. You can use this feature for translate existings shortcuts. If the value of shortcut is a number (Integer), this number correspond to number of day (for 5 --> Last 5 days).

If the value of shortcut is a function, we'll use it to generate the start and end values. This function should return an object with the start & end values. Both values must be a moment object. The function is called when the user clicks on the shortcut button.

[
  {
    key: 'customValue',
    label: 'My custom thing',
    value: () => {
      return {
        start: moment(),
        end: moment().add(2, 'days')
      }
    },
    callback: ({ start, end }) => {
      console.log('My shortcut was clicked with values: ', start, end)
    }
  },
];

With the shortcut property, you can specify a shortcut that's selected by default by passing it's key value.

  :shortcut="'thisMonth'"

(11) disabled-weekly : Days of the week which are disabled every week, in Array format with day index, Sunday as 0 and Saturday as 6: [0,4,6]

(12) no-keyboard : Disable keyboard accessibility & navigation

(13) right : add this attribute to align the picker on right

(14) id : it assign id such as 'passedstring-input' to input help diffrentiate between two date-time-picker on same component.

Any additionnal attribute passed to the component will be automatically be binded to the input component. (eg. if you passes a type attribute, the <input> will receive it).

Behaviour

In order to avoid having too much properties in the component, We're adding a behaviour property that is an object including some annex behaviour values.

The default value for this object is:

{
  time: {
    nearestIfDisabled: true;
  }
}

To override those values, pass a new object with the values you want to override:

<ctk-date-time-picker
  :behaviour="{
    time: {
      nearestIfDisabled: false
    }
  }"
/>
Behaviour Description Type Default
time.nearestIfDisabled If true, it will select the nearest available hour in the timepicker, if the current selected hour is disabled. Per example, if the hour is 12 but all the hours have been disabled until 14, then the 14 will be selected by default. Set false to disable this behaviour; the current hour will remain selected even if it has been disabled. The user cannot re-select it. Boolean true

Events API

Event Return
input value (formatted with 'format' props)
formatted-value value (formatted with 'formatted' props)
is-shown Component is shown
is-hidden Component is hidden
validate Click on validate button (so component is closed)
destroy Component is destroy

Keyboard Accessible

Key Action
Arrow Right Next Day
Arrow Left Previous Day
Arrow Down Same day on next week
Arrow Up Same day on previous week
Page Down Same day on previous month
Page Up Same day on next month
Enter or Space Select day
Escape Close component

Upcoming features (Todo)

  • Double Calendar on RangeDatePicker (issue : #33)
  • Inputs Text to choose values (issue #30)
  • TimePicker seconds support (issue : #79)

Contribute

Setting up development server

Without Docker

Ensure you have Node and npm in your machine. Minimal config is:

  • node >= 6.0
  • npm >= 3.0

This project is built with [email protected].

Install the development dependencies by running:

npm install

or

npm ci # Recommanded if you have node > 10.x

Once your dependencies are installed, start the development server with:

npm run serve

This will start the development server available at http://localhost:8080.

Docker

To easily set-up your development environment, you can spin up a container containing the development app. For that, you need Docker with docker-compose in your machine.

Once you've everything running, you can simply run the following command to start the dev server:

docker-compose up -d

This will start the development server inside a container and accessible through http://localhost:8080.

Compiles and hot-reloads for development

npm run serve

Linter

npm run lint

Tests

Work in progress

License

This project is licensed under MIT License

Credit

Open source time proudly sponsored by Chronotruck

Comments
  • WIP feat: Add vue 3 support

    WIP feat: Add vue 3 support

    solves #315

    What's new:

    • updated dependencies
    • updated vue v-modal usage (https://v3.vuejs.org/guide/migration/v-model.html)
    • added emits option (https://v3.vuejs.org/guide/component-custom-events.html)
    • renamed transition class names (https://v3.vuejs.org/guide/migration/transition.html)
    • fixed transition-group usage (https://github.com/vuejs/docs-next/issues/648)
    • mounting vue app using createApp function (https://v3.vuejs.org/api/global-api.html#createapp)
    • removed noValueToCustomElem prop and added new slots support (https://v3.vuejs.org/guide/migration/slots-unification.html)
    • renamed beforeDestroy -> beforeUnmount
    • updated unit tests (dependencies, api calls)
    • updated eslint rules (v-bind="object" is now order-sensitive - https://v3.vuejs.org/guide/migration/v-bind.html)
    • v-click-outside doesn't support vue 3, so I've created a local copy until lib will be ready to use

    TODO:

    • nuxt doesn't support vue3 (https://github.com/nuxt/nuxt.js/issues/5708)
    • vue-test-utils-next doesn't support setData yet (https://github.com/vuejs/vue-test-utils-next/issues/228)
    • rewrite mixin keyboard-accessibility.js using composition-api methods
    opened by crutch12 6
  • Close datepicker when field loses focus (fix #128)

    Close datepicker when field loses focus (fix #128)

    This PR adds a @blur event listener to close the date picker when the element loses focus.

    Context

    Currently, when we focus on the datepicker, the pickers are shown. However, when we blur the field (that is, the field loses focus), the picker will remain visible.

    This behaviour is not ideal, and incorrect. It makes the datepicker unfriendly to keyboard users (among other scenarios) because you have to hit escape or manually click on something else on the page so that the pickers close.

    By adding a @blur listener to the blur event that calls the toggleDatePicker(false) method, we ensure that the picker will automatically close when the field loses focus.

    What kind of change does this PR introduce? (check at least one)

    • [x] Bugfix
    • [ ] Feature
    • [ ] Code style update
    • [ ] Refactor
    • [ ] Build-related changes
    • [ ] Other, please describe:

    Is this PR related to a problem?

    Yes, it closes https://github.com/chronotruck/vue-ctk-date-time-picker/issues/128

    Does this PR introduce a breaking change? (check one)

    • [ ] Yes
    • [x] No

    No tests were harmed in the making of this PR.

    opened by muschottkey 4
  • min-date and/or max-date with time

    min-date and/or max-date with time

    Allowed set min-date and max-date with date+time format

    Need to update documentation with: min-date && max-date should be in the same format as property format specified. If format not set - it is set to 'YYYY-MM-DD hh:mm a' by default

    opened by podhornyi 3
  • feat: custom shortcuts

    feat: custom shortcuts

    I added a feature that you can enable custom shortcut menu to 'CtkCalendarShortcut' component. In this way also you can localize the labels with passing custom shortcuts.

    enhancement work in progress 
    opened by HKskn 3
  • added new prop overlay which will give control to whether to display …

    added new prop overlay which will give control to whether to display …

    gives control for overlay whether it should be shown or not based on which the user must enable button validate to true for choosing date after it is selected

    updated dist and builds

    opened by msonowal 3
  • Allow keyboard accessibilty to be disabled

    Allow keyboard accessibilty to be disabled

    In response to chronotruck/vue-ctk-date-time-picker#126, I've added a keyboard prop to allow the keyboard accessibility feature to be enabled (default) or disabled. This doesn't really fix the problem of the date time picker stealing all keyboard presses at the root level, but it does provide a flexible workaround for those who don't need the feature.

    opened by knackjason 2
  • Custom shortcuts on RangeDatePicker

    Custom shortcuts on RangeDatePicker

    1. Add custom shortcuts support
    2. Add "today" and "yesterday" shortcuts
    <ctk-date-time-picker
      v-model="rangeValues"
      :dark="darkMode"
      :shortcuts-translation="shortcutsTranslation"
    + :range-shortcuts="['last_30_days', 'last_month', 'last_year']"
      range-mode
      overlay-background
      color="purple"
      format="YYYY-MM-DD"
      formatted="ddd D MMM YYYY"
      label="Select range"
    />
    

    screen shot 2019-01-08 at 12 11 08 am

    opened by iampaul83 2
  • Set the shortcut buttons type to 'button' to prevent form submit events

    Set the shortcut buttons type to 'button' to prevent form submit events

    I noticed that clicking on a range shortcut button was causing my form to fire a submit event. I dug around and noticed there wasn't a type attribute on the shortcut buttons, so they were defaulting to submit. Setting type="button" fixes the problem and didn't seem to introduce any regressions (in my limited testing).

    opened by knackjason 2
  • [FIX]

    [FIX] "Invalid date" when clicking "PM" twice

    Fixing the "Invalid Date" bug described here:

    https://github.com/chronotruck/vue-ctk-date-time-picker/issues/196

    This fix ensures that no changes are made when AM or PM is clicked more than once.

    opened by Tiarhai 1
  • Use format strings when instantiating moment objects to increase reliability and fix browser-specific bugs

    Use format strings when instantiating moment objects to increase reliability and fix browser-specific bugs

    Not using a format string when creating a moment.js object means that Moment falls back to the built in Date constructor which behaves differently in different browsers (i.e. as referenced in this issue: https://github.com/chronotruck/vue-ctk-date-time-picker/issues/60)

    opened by anshizzle 1
  • unSelectAllShortcuts throws an undefined error

    unSelectAllShortcuts throws an undefined error

    If the property "without-range-shortcut" is set to true, "unSelectAllShortcuts()" throws an error since the shortcut panel doesn't exist. Check that it exists before triggering the method.

    opened by mannyyang 1
  • Fixes id equals to undefined string

    Fixes id equals to undefined string

    1. Per README.md id is optional and defaults to undefined [1]. This causes a weird behaviour of string concatenation of undefined and results id's in the format similar to 'undefined-...'.

      Specifically:

      • undefined-wrapper
      • undefined-input
      • undefined-picker-container
      • undefined-picker-container-DatePicker
    2. When using multiple datepicker components on a html page this results in an invalid html because of duplicate ids.

    [1] https://github.com/chronotruck/vue-ctk-date-time-picker#props-api

    opened by KartoffelCheetah 2
  • Fixes eslint tabs and spaces

    Fixes eslint tabs and spaces

    Fixes the following two eslint 'errors' at startup.

    error: Expected " " character, but found "\t" character (vue/script-indent) at src/VueCtkDateTimePicker/_subs/PickersContainer/_subs/TimePicker.vue:284:1
    
    error: Operator ':' must be spaced (space-infix-ops) at src/VueCtkDateTimePicker/_subs/PickersContainer/_subs/TimePicker.vue:284:7
    

    This is a code style fix, last meaningful change happened in these lines at 7ee4c2a2 .

    opened by KartoffelCheetah 0
  • Adds predefined node user to docker-compose

    Adds predefined node user to docker-compose

    • Runs commands with node user (1000:1000) instead of root by default. [1]
    • Adds npm install line below the docker-compose up in the README.md.

    [1] https://github.com/nodejs/docker-node/blob/c2604466d06ba562fd9040d18c57af16545c6a5b/10/stretch/Dockerfile#L3

    opened by KartoffelCheetah 0
  • Removes editorconfig rules already included in *

    Removes editorconfig rules already included in *

    ef94fdc198dd6373902791bcff2baf5a3612bf7b introduced some additional rules in the .editorconfig for the *.{js,jsx,ts,tsx,vue} wildcard glob.

    however all of these rules are already defined on the asterisk * wildcard. I see no reason to have these styles duplicated unless there is some kind of buggy .editorconfig implementation out there which requires both of these rules to func5tion correctly.

    opened by KartoffelCheetah 0
  • Feat/expanded shortcuts

    Feat/expanded shortcuts

    This PR adds support for the following custom-shortcuts:

    { key: 'nextWeek', label: 'Next week', value: '+isoWeek' },
    { key: 'nextMonth', label: 'Next month', value: '+month' },
    { key: 'nextYear', label: 'Next year', value: '+year' }
    

    Above functionality has been reflected in the README as well as the demo examples page.

    opened by eric-norcross 0
Releases(2.5.0)
  • 2.5.0(Jun 20, 2020)

    Fixes

    • Issue with 'scrollTop' of undefined called (#293)
    • Making sure the validate button is visible on mobile (#297, #229, #192)
    • Month/year button size issue with IE 11 (#267)
    • Clear button aligment on IE 11 (#301)
    • Hide clear button if the input is disabled (#289)
    • Make sure the am/pm buttons are always visible (#295)
    Source code(tar.gz)
    Source code(zip)
  • 2.4.0(Jun 20, 2020)

    Changelog

    Features

    Custom shortcuts callback function

    For custom-shortcuts, a callback function can be added for each shortcut. This function would be called whenever the user clicks on the shortcut. The function receives an object with the start and end values along with the shortcut object itself. See README for more informations. Issue #218

    BREAKING CHANGES

    Range shortcuts

    Source code(tar.gz)
    Source code(zip)
  • 2.3.1(Oct 10, 2019)

    Fixes

    • Apply the same change did on the hours, for the minutes on the nearestIfDisabled behaviour prop.
    • The homepage value on the package.json will now be the Github releases #230 .
    Source code(tar.gz)
    Source code(zip)
  • 2.3.0(Oct 1, 2019)

    Features

    • The plugin is now compatible with Nuxt. #75
    • A new property (behaviour) is available, to control the way the default hour when disabled. See the README for more informations. #221

    Fixes

    • The is-hidden event will no longer be emitted twice (or more) #215
    Source code(tar.gz)
    Source code(zip)
  • 2.2.0(Sep 14, 2019)

    The plugin has been on a stale state for some months but we, at Chronotruck will keep it up to date and bug-free as much as we can. Special thanks to the original author @LouisMazel.

    Changelog

    Fixes

    • The issue about the "Invalid date" (#196) has been fixed by #198. Thanks to @Tiarhai
      • The behaviour of clicking twice on either "PM" or "AM" to add/remove 12h has been removed.
    • We changed the ids from the picker to avoid multiple ids conflicts. You'll now have a id-wrapper, id-input and id-picker-container. Thanks again @alemagio

    BREAKING CHANGES

    • We do not rely on the id and disabled props. Instead it will be considered as attributes because we're passing the attributes from the main component to the input. Every attribute you specify in the main component will be applied to the input (eg. type attribute). You can still use the id & disabled attributes of course.

    Misc

    We're adding new development policies to this plugin, specially regarding tests. We want to provide something that's reliable for ourselves (at Chronotruck) and other developers that rely on this plugin. We'll answer more quickly to bug issues & pull-requests along with vulnerability reports.

    Source code(tar.gz)
    Source code(zip)
  • 2.1.0(Apr 19, 2019)

    Changelog

    • Now MinDate & MaxDate can be set with time (https://github.com/chronotruck/vue-ctk-date-time-picker/pull/156)
    • The input label can be remove (https://github.com/chronotruck/vue-ctk-date-time-picker/pull/154)
    • Fix date picker container id issue (https://github.com/chronotruck/vue-ctk-date-time-picker/pull/157)
    • CSS issue (https://github.com/chronotruck/vue-ctk-date-time-picker/pull/152)
    Source code(tar.gz)
    Source code(zip)
  • 2.0.9(Mar 15, 2019)

  • 2.0.8(Mar 15, 2019)

  • 2.0.7(Mar 14, 2019)

    New options

    • Disabled weekly dates (Ex : disable all friday)
    • no-keyboard (disable navigation & accessibility with keyboard)
    • enabled-dates (enable specific dates)
    • right (to align the picker on right)

    Improvements

    • Responsive
    Source code(tar.gz)
    Source code(zip)
  • 2.0.5(Jan 24, 2019)

  • 2.0.4(Jan 23, 2019)

    Changelog

    Features

    • Add Year & Month selector on range mode

    Improvements & bugs fix

    • UX improvements
    • Improve opening picker
    • TimePicker improvements : Scroll selector
    • Correct events emitted
    • Correct 'invalid' year in Header on Range mode
    • Correct alignments issues on Safari
    Source code(tar.gz)
    Source code(zip)
  • 2.0.3(Jan 15, 2019)

    Changelog

    • Fix year month selector (no change date now)
    • Fix buttons management with options (noButton, noButtonNow, autoClose)
    • Add escape action to close picker
    • Fix experience with scroll on TimePicker
    Source code(tar.gz)
    Source code(zip)
  • 2.0.0(Jan 14, 2019)

    With your help and yours feedbacks, VueCtkDateTimePicker 2.0.0 is live

    The component is "more"

    • Light
    • Robust
    • Efficient
    • Speed
    • Responsive
    • Beautiful

    News Features

    • Set your own custom shortcuts on range mode
    • New button 'NOW' for set the current date time (not available on range mode)
    • UI Time Picker (Select on scroll, UX)
    • Custom element to trigger the component (Use your own input, button, etc to open VueCtkDateTimePicker)
    • You can select year & month directly (not yet available on range mode)
    • Calendar is now keyboard accessible (issue : #45)
    • Font management improvement (remove @import css of roboto)

    Options

    • You can set the first day of week (option : first-day-of-week="(0 to 7)")
    • Change the color of the validation button & 'now' button (button-color option)
    • You can force the position where the component appears (Option : position="(top|bottom)")
    • You can open the component programmatically (option : open="(true|false)")
    • Option : persistent (the component stay always open)
    • You can choose the size of the input (option : input-size="(true|false)")

    Demo

    • A demo with components more editable

    Techno

    • Update to vue-cli 3 (local server & build)

    Find it

    • Install bata version : npm install vue-ctk-date-time-picker
    • DEMO : https://chronotruck.github.io/vue-ctk-date-time-picker
    • DOC : https://github.com/chronotruck/vue-ctk-date-time-picker/blob/master/README.md

    Le me know if you have others feedbacks !

    Source code(tar.gz)
    Source code(zip)
  • 2.0.0-rc8(Jan 14, 2019)

  • 2.0.0-rc7(Jan 10, 2019)

    Change log

    • Font management improvement (remove @import css of roboto)
    • Fix bug with first-day-of-week option (issue : #78)

    Features

    • Calendar is now keyboard accessible (issue : #45)

    Find it

    Install bata version : npm install [email protected]

    DEMO : https://987z4lm0qy.codesandbox.io/ DOC : https://github.com/chronotruck/vue-ctk-date-time-picker/blob/feature/refont/README.md

    Le me know if you have others feedbacks (events, bugs, etc)

    Source code(tar.gz)
    Source code(zip)
  • 2.0.0-rc6(Jan 4, 2019)

    With your help and yours feedbacks, I released a new beta version '2.0.0-rc6' (release-candidate)

    Thanks you

    The components is "more"

    • Light
    • Robust
    • Efficient
    • Speed
    • Responsive
    • Beautiful

    News Features

    • Set your own custom shortcuts on range mode
    • New button 'NOW' for set the current date time (not available on range mode)
    • UI Time Picker (Select on scroll, UX)
    • Custom element to trigger the component (Use your own input, button, etc to open VueCtkDateTimePicker)
    • You can select year & month directly (not yet available on range mode)

    Options

    • You can set the first day of week (option : first-day-of-week="(0 to 7)")
    • Change the color of the validation button & 'now' button (button-color option)
    • You can force the position where the component appears (Option : position="(top|bottom)")
    • You can open the component programmatically (option : open="(true|false)")
    • Option : persistent (the component stay always open)
    • You can choose the size of the input (option : input-size="(true|false)")

    Demo

    • A demo with components more editable

    Techno

    • Update to vue-cli 3 (local server & build)

    Find it

    • Install bata version : npm install [email protected]
    • DEMO : https://m4jxw3mzp9.codesandbox.io/
    • DOC : https://github.com/chronotruck/vue-ctk-date-time-picker/blob/feature/refont/README.md

    Le me know if you have others feedbacks (events, bugs, etc)

    Source code(tar.gz)
    Source code(zip)
  • 1.4.2(Dec 17, 2018)

    Fix bugs :

    • With 'this week' shortcut on Range Mode : https://github.com/chronotruck/vue-ctk-date-time-picker/issues/86
    • 'without-input' option work fine now (but use inline) : https://github.com/chronotruck/vue-ctk-date-time-picker/issues/87
    Source code(tar.gz)
    Source code(zip)
  • 1.4.1(Dec 14, 2018)

A simple Vue.js datepicker component. Supports disabling of dates, inline mode, translations

Datepicker 2 A datepicker Vue component. Compatible with Vue 2.x Demo Install Upgrade to 2.x+ Usage Date Formatting Props Events Disabled dates Highli

hokify 15 Jul 28, 2022
Mobile friendly datetime picker for Vue. Supports date, datetime and time modes, i18n and disabling dates.

Mobile friendly datetime picker for Vue. Supports date, datetime and time modes, i18n and disabling dates.

null 0 Feb 7, 2019
A dropdown time picker (hour|minute|second) for VueJs (1.x), with flexible time format support

A dropdown time picker (hour|minute|second) for VueJs (1.x), with flexible time format support

Phoenix Wong 28 Dec 16, 2020
A vue plugin to select jalali date and time

vue-persian-datetime-picker A vue plugin to select jalali date and time See documentation and demo at vue-persian-datetime-picker Installation browser

Mohamad Talkhabi 553 Jan 7, 2023
A vue plugin to select jalali date and time

vue3-persian-datetime-picker A vue plugin to select jalali date and time See documentation and demo at vue-persian-datetime-picker. If you are using v

Mohamad Talkhabi 75 Jan 2, 2023
A vue plugin to select date and time

vue-date-time-picker-js A vue plugin to select date and time See documentation and demo at vue-date-time-picker-js Installation npm npm install vue-da

Mahdad Ghasemian 0 Mar 25, 2020
A dropdown time picker (hour|minute|second) for Vue 2.x, with flexible time format support

Vue2 Timepicker ?? Dead repo recharged ?? A dropdown time picker (hour|minute|second) for Vue 2.x, with flexible time format support. Demo You can see

Phoenix Wong 432 Dec 26, 2022
Vue Time Picker - A simple time picker for Vue with a Bootstrap style

Vue Time Picker - A simple time picker for Vue with a Bootstrap style

Justin Dowty 0 Feb 13, 2020
A Vue component of formatting dates using moment.

el-moment A Vue component of formatting dates using moment. Installation yarn add el-moment moment # npm i el-moment moment -S Usage import ElMoment f

null 10 May 25, 2022
vue 3 datepicker. supports disabling, highlighting of dates and programmatic access of date.

Vue 3 Datepicker A datepicker Vue component. Compatible with Vue 3 Only Demo Install Usage Date Formatting Props Events Disabled dates Highlighted dat

shubhadip 38 Dec 15, 2022
Mobile friendly datetime picker for Vue. Supports date and datetime modes, i18n and disabling dates.

Mobile friendly datetime picker for Vue. Supports date, datetime and time modes, i18n and disabling dates.

null 0 May 1, 2020
Vue date range picker component

A responsive date range picker for Vue.js that displays the number of nights selected and allow several useful options like custom check-in/check-out

Krystal Campioni 769 Dec 29, 2022
A vue component using Bootstrap 4 styles for date range selection

vue-date-range-picker A vue component using Bootstrap 4 styles for date range selection Live demo (jsfiddle) Features Date range selection Compare fea

Antoine Matyja 28 Nov 23, 2022
Litepie Datepicker is a date range picker component for Vue.js and Tailwind CSS, dependent to day.js.

Litepie Datepicker is a date range picker component for Vue.js and Tailwind CSS, dependent to day.js. Documentation For full documentation, visit lite

Ken 346 Jan 3, 2023
Vue3-daterange-picker - Date range picker component for vue made without jQuery dependency

vue3-daterange-picker A modified date range picker to run on Vue 3. The componen

ADEGBOYE JOSHUA 2 Aug 31, 2022
Range date picker with simple usage

VueRangedatePicker Date picker with range selection Demo https://bliblidotcom.github.io/vue-rangedate-picker/demo/ Installation npm install --save vue

Blibli.com 216 Jul 8, 2022
a date-range-picker follows the Material Design spec powered by vue.js (alpha)

Document | 中文文档 If the document is not accessible, please open an issue, I will fix it right away. v-md-date-range-picker Material Design DateRangePic

小小鲁班 68 Nov 12, 2022
A vue2 range datepicker

A simple range datepicker based on Vue2

HC 4 Oct 30, 2022
A date-range-picker follows the Material Design spec powered by vue.js

A date-range-picker follows the Material Design spec powered by vue.js

小小鲁班 68 Nov 12, 2022