Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Date class monkey patching. #7

Open
manpreetnarang opened this issue Apr 9, 2015 · 2 comments
Open

Issue with Date class monkey patching. #7

manpreetnarang opened this issue Apr 9, 2015 · 2 comments

Comments

@manpreetnarang
Copy link

Adding runt to the rails app causes the (-) overloaded operator to behave differently. Here's an example:

Without runt:
:001 > Date.today
=> Thu, 09 Apr 2015
:002 > Date.today - 1.day
=> Wed, 08 Apr 2015

After requiring runt:
:001 > Date.today - 1.day
=> Fri, 18 Sep 1778

@sgil-carecloud
Copy link

having the same issue here. im not sure how to go about this

@texel
Copy link
Owner

texel commented Jul 6, 2015

Hi everyone,

This was just a mirror repo... I didn't originally write runt, but I'd be happy to accept patches into this repo if someone wants to make a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants