Comments (3)
or do it like this:
blocked - An array of blocked (disabled) dates in the following format: 'day month year'. The syntax is similar to cron: the values are separated by spaces and may contain * (asterisk) - (dash) and , (comma) delimiters. For example blocked: ['1 1 2007'] would disable January 1, 2007; blocked: ['* 1 2007'] would disable all days (wildcard) in January, 2007; blocked: ['1-10 1 2007'] would disable January 1 through 10, 2007; while blocked: ['1,10 1 2007'] would disable January 1 and 10, 2007. In combination: blocked: ['1-10,20,22,24 1-3 *'] would disable 1 through 10, plus the 22nd and 24th of January through March for every (wildcard) year. There is an optional additional value which is day of the week (0 - 6 with 0 being Sunday). For example blocked: ['0 * 2007 0,6'] would disable all weekends (saturdays and sundays) in 2007.
from mootools-datepicker.
please provide unavailableDates
from mootools-datepicker.
included a insertAvailable
option which is basically the unavailableDates
.
from mootools-datepicker.
Related Issues (20)
- Problem with minutes HOT 1
- Wrong date using Date.defineParser HOT 2
- UK Locale File is named English which breaks the timepicker HOT 1
- [ Issue ] Unable to select date if timePicker: false,
- specific start year or month HOT 1
- Mootools Date/Time picker scrolling issue
- timePicker starts on 00:00 when minDate is set HOT 3
- double div datepicker when fired domready HOT 1
- Timepicker submits picked time only every 2nd time to input field HOT 1
- Displays only 4 'columns' of years in year view
- Inspiration for time picking HOT 2
- Multiple collumns and HOT 1
- FR: add z-index at datepicker_bootstrap.css
- Toggles do not work always
- Incompatible with mootools 1.6 due to Array.from() usage HOT 2
- Picker does not disappear on outerclick on iPhone
- Re-Open: Datepicker mixes up month and day on %m/%d/%y HOT 12
- date limit problem HOT 2
- reopen picker with custom string formatting
- Toggle is not working with sub elements
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mootools-datepicker.