kissyteam/kissy — Issue #102: calendar 31 day bug
Author: yiminghe
Created: 2012-02-17 08:33:19+00:00
State: open

# KISSY Version :

<=1.2.0

# Url(if any) :

# Browsers :

all

# What steps will reproduce the problem?

* input following javascript

```javascript
new S.Calendar(input, {
'popup' : true,
'closable' : true,
'minDate' : new Date(2012,1,1)
}).
```

* run

# What is the expected result?

2012-1-31 can not be selected

# What happens instead?

2012-1-31 can be selected