discourse/plugins/discourse-rewind
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
..
app FIX: Correct the date range in d-rewind (#39805) 2026-05-06 19:58:21 +02:00
assets DEV: Rename htmlSafe to trustHTML from @ember/template (#38465) 2026-03-11 18:57:22 -03:00
config I18N: Update translations (#39701) 2026-05-04 21:30:12 +02:00
db DEV: Promote old post-deploy migrations to pre-deploy (#38595) 2026-03-13 19:09:30 +00:00
lib/discourse_rewind FIX: Cache rewind reports with user ID not username (#37872) 2026-02-17 15:14:54 +10:00
public UX: various visual fixes to rewind plugin (#36535) 2025-12-08 11:15:00 -05:00
spec FIX: Correct the date range in d-rewind (#39805) 2026-05-06 19:58:21 +02:00
test/javascripts
package.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00
plugin.rb FIX: Correct the date range in d-rewind (#39805) 2026-05-06 19:58:21 +02:00
README.md
tsconfig.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00

DiscourseRewind

Display stats on your last year of Discourse usage.

Usage

Navigate to /my/activity/rewind