timecop icon indicating copy to clipboard operation
timecop copied to clipboard

DateTime.parse does not infer time value.

Open KingsleyKelly opened this issue 8 years ago • 2 comments

Hey ! Ran in to this while running tests.

new_time = DateTime.now.utc + 14.days
Timecop.freeze(new_time)
DateTime.parse('Tuesday') => Tue, 22 Mar 2016 00:00:00 +0000
DateTime.parse('Tuesday 3pm') => Tue, 08 Mar 2016 15:00:00 +0000

I will try to provide a fix, unless this is a known issue? Looks related to https://github.com/travisjeffery/timecop/pull/137

KingsleyKelly avatar Mar 07 '16 16:03 KingsleyKelly

Heya @KingsleyKelly, have you started work on this?

JonMidhir avatar Apr 06 '16 11:04 JonMidhir

Same problem. Any updates?

h8is2w8 avatar Aug 27 '18 08:08 h8is2w8