# Anyone else frustrated with days\_in\_month?

**URL:** <https://www.ruby-forum.com/t/anyone-else-frustrated-with-days-in-month/126065>\
**Category:** Rails\
**Created:** [January 15, 2008, 5:39am UTC](https://www.ruby-forum.com/t/anyone-else-frustrated-with-days-in-month/126065 "2008-01-15T05:39:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stimpy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/779978/32.png) [@stimpy](https://www.ruby-forum.com/u/stimpy)\
**Post date:** [January 15, 2008, 5:39am UTC](https://www.ruby-forum.com/t/anyone-else-frustrated-with-days-in-month/126065/1 "2008-01-15T05:39:51Z")

</div>

I posted a patch (my first) and I was looking for some kind of input on  
it  
from the community. [http://dev.rubyonrails.org/ticket/10799](http://dev.rubyonrails.org/ticket/10799)

What did I do right?  
What did I do wrong?  
How much do you love it?

–  
Ryan B.

> **[frozenplague.net](http://www.frozenplague.net)**
>
> This domain may be for sale!

Feel free to add me to MSN and/or GTalk as this email.

---

<div class="post-metadata">

**Author:** ![stimpy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/779978/32.png) [@stimpy](https://www.ruby-forum.com/u/stimpy)\
**Post date:** [January 15, 2008, 10:14am UTC](https://www.ruby-forum.com/t/anyone-else-frustrated-with-days-in-month/126065/2 "2008-01-15T10:14:57Z")

</div>

I find this very userful, I used days\_in\_month in my app, but i did  
not noticed it does not use current year I thougth it was obvious.

Change of code you made seems simple, but I am not able to say whether  
it is done right.
