duckduckgo/zeroclickinfo-goodies — pull request #812 by flippingtables (2014-12-06 13:58:27+00:00)
Title: Calculate number of days in month Goodie

# Goodie Pull Request Template

Using this template will help us better understand your Instant Answer and assist you when necessary. Simply copy and paste the markdown below into the description of your GitHub pull request and complete as appropriate.

**What does your Instant Answer do?**
A simple thing that calculates how many days are in a month.
E.g. "how many days are in january" => 31

**What problem does your Instant Answer solve (Why is it better than organic links)?**
For giving a user a quick way of looking up something simple

**What is the data source for your Instant Answer? (Provide a link if possible)**

**Why did you choose this data source?**

**Are there any other alternative (better) data sources?**

**What are some example queries that trigger this Instant Answer?**
"how many days are in january" => 31

**Which communities will this Instant Answer be especially useful for? (gamers, book lovers, etc)**

**Is this Instant Answer connected to a DuckDuckHack [Instant Answer idea](https://duck.co/ideas)?**
No.

**Which existing Instant Answers will this one supercede/overlap with?**

**Are you having any problems? Do you need our help with anything?**

**Where did you hear about DuckDuckHack? (For first time contributors)**

**What does the Instant Answer look like? (Provide a screenshot for new or updated Instant Answers)**
![capture](https://cloud.githubusercontent.com/assets/1615244/5327596/3deb85c2-7d58-11e4-9a3f-9d5c2693a29a.PNG)

## Checklist
Please place an 'X' where appropriate.

```
[x] Added metadata and attribution information (https://duck.co/duckduckhack/metadata)
[x] Wrote test file and added to t/ directory (https://duck.co/duckduckhack/goodie_tests)
[] Verified that instant answer adheres to design guidelines (https://duck.co/duckduckhack/design_styleguide)
[] Verified that instant answer adheres to code styleguide (https://duck.co/duckduckhack/code_styleguide)
[] Tested cross-browser compatibility

Please let us know which browsers/devices you've tested on:
- Windows 8
[x] Google Chrome
[] Firefox
[] Opera
[] IE 10

- Windows 7
[] Google Chrome
[] Firefox
[] Opera
[] IE 8
[] IE 9
[] IE 10

- Windows XP
[] IE 7
[] IE 8

- Mac OSX
[] Google Chrome
[] Firefox
[] Opera
[] Safari

- iOS (iPhone)
[] Safari Mobile
[] Google Chrome
[] Opera

- iOS (iPad)
[] Safari Mobile
[] Google Chrome
[] Opera

- Android
[] Firefox
[] Native Browser
[] Google Chrome
[] Opera
```