/ Published in: Ruby
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Time.stubs(:current).returns DateTime.strptime("04/07 11:31:43", "%m/%d %H:%M:%S")