Make TimeCop work with Date/DateTime even if Timecop was loaded first #85

merged 1 commit into from May 11, 2013


None yet

2 participants


This makes TimeCop load 'date' instead when it loads, so that it can patch Date and DateTime as expected. Without this patch, you can get unexpected behavior in cases where Date or DateTime is used, but TimeCop was loaded before 'date'. See my longwinded comment in #83.

@travisjeffery travisjeffery merged commit f3a2bbf into travisjeffery:master May 11, 2013

1 check failed

Details default The Travis CI build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment