Eric Carroll · @EricCarroll
692 followers · 1674 posts · Server cosocial.ca
Laura Hunsaker · @highlandhussy
129 followers · 1033 posts · Server romancelandia.club

Grab HIGHLAND ECLIPSE for before the price goes back up!
amzn.to/3vNY9Uc

#ad #eclipseagents #timecop #timetravel #free

Last updated 2 years ago

Mei Zhang · @fnord
0 followers · 4 posts · Server sigmoid.social

I'm feeling inspired by the classic and decided to create a piece of AI art using 35mm color film. sigmoid.social/@AirmindedAI/10

#timecop #midjourney #aiart

Last updated 2 years ago

masukomi · @masukomi
179 followers · 2249 posts · Server connectified.com

help?

Can anyone tell me how to freeze time for test purposes?

Really all I need to do is override `DateTime.now()` but if I do it with `use MONKEY-TYPING` it claims that there already is one (🤦‍♀️). If I do it by just doing `class DateTime { method now() {...} }` it breaks `DateTime.new` (either with empty signature or real one)

I've got a time bug i can't test because the code uses DateTime.now

( we really need a version of 's github.com/travisjeffery/timec )

#rakulang #ruby #timecop

Last updated 2 years ago

iooioio · @iooioio
198 followers · 2986 posts · Server fosstodon.org

@celia I don't really understand what you're doing and/or expecting here. `cutoff_date` just looks like an attribute reader that doesn't actually invoke `Date.today`.

In any case, you might want to be using (gem) instead.

#timecop

Last updated 4 years ago