Skip to content

Instantly share code, notes, and snippets.

@ariutta
Last active January 2, 2016 11:09
Show Gist options
  • Save ariutta/8294928 to your computer and use it in GitHub Desktop.
Save ariutta/8294928 to your computer and use it in GitHub Desktop.
data to work with for multi date picker and viewer. first, a user can select one or multiple dates, with selected dates turning a different color (e.g., blue). later, these dates can be displayed, with availability indicated using background color. so available dates could be shown with one background color (e.g., green) and unavailable dates sh…
[
{
date:"2014-01-30T05:15:00.000Z",
available:true
},
{
date:"2014-01-31T18:30:00.000Z",
available:false
},
{
date:"2014-02-01T09:00:00.000Z",
available:true
},
{
date:"2014-02-07T05:15:00.000Z",
available:true
}
]
[
"2014-01-30T05:15:00.000Z",
"2014-01-31T18:30:00.000Z",
"2014-02-01T09:00:00.000Z",
"2014-02-07T05:15:00.000Z"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment