1
0
Fork 0
forked from OpenNeo/impress
impress/app/models/item
Matchu 965725f9e9 Oops, fix silly bug in Dyeworks Owls date parsing
Oh right, if I assume "date in the past means it's for next year", then
that means that, when the date *does pass*, we won't realize it!

e.g. if Owls says "Dyeable Thru July 15", then on July 14 we'll parse
that as July 15, 2024; but on July 16 we'll parse it as July 16, 2025,
and so we'll think it's *still* dyeable. Under this logic, it's
actually impossible for a limited Dyeworks date to *ever* be in the
past, I think!

I think 3 months is a good compromise: it gives Owls plenty of time to
update, but allows for events that could last as long as 9 months into
the future, if I'm doing my math right.
2024-06-20 14:05:00 -07:00
..
search Use fits:nostalgic-faerie-draik filter format when we can 2024-02-27 15:51:27 -08:00
dyeworks.rb Oops, fix silly bug in Dyeworks Owls date parsing 2024-06-20 14:05:00 -07:00
search.rb globalized search first draft 2013-01-24 18:24:35 -06:00