fcoury / octopi

A Ruby interface to GitHub API v2
http://hasmany.info/2009/4/18/ruby-interface-to-github-api
MIT License
216 stars 47 forks source link

Date Attribues Should be Date Objects #9

Closed runpaint closed 15 years ago

runpaint commented 15 years ago

Attributes that have dates as values should be coerced into a date object so objects of the same type can be compared with respect to their date. For instance, Issue objects have .created_at and .updated_at.

radar commented 15 years ago

Hi, I have a branch of this project and I am coercing them into Time objects. I'm going to be submitting a pull request in a couple of days when I wrap everything up.

radar commented 15 years ago

Date objects are now date objects. Let me know if you find a situation where they are not.