discourse/plugins/discourse-rewind/spec
Jarek Radosz 7b1c9cc3dc
FIX: Correct the date range in d-rewind (#39805)
Fixes the flakes we've been seeing.

1. The previous version of `random_datetime` could sometimes fall
outside the desired range (roughly in 2% of runs)
2. `Date.new(year).all_year` is a `Date` range. It's turned into
`BETWEEN '2021-01-01' AND '2021-12-31'` which pg reads as midnight
timestamps, so we've been dropping any activity after Dec 31 00:00.
(i.e. the last 24hrs)
2026-05-06 19:58:21 +02:00
..
actions DEV: Follow up spec fix (#37698) 2026-02-11 11:51:51 +08:00
requests FIX: Only actually fetch initial report count in Rewind (#36940) 2026-01-05 09:34:26 +10:00
serializers FIX: Do not show rewind for new users (#37205) 2026-01-20 17:44:19 +10:00
services FIX: Cache rewind reports with user ID not username (#37872) 2026-02-17 15:14:54 +10:00
system DEV: Update rubocop (#38721) 2026-03-20 00:39:52 +01:00
plugin_helper.rb FIX: Correct the date range in d-rewind (#39805) 2026-05-06 19:58:21 +02:00