mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-09 09:34:20 +08:00
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) |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| config | ||
| db | ||
| lib/discourse_rewind | ||
| public | ||
| spec | ||
| test/javascripts | ||
| package.json | ||
| plugin.rb | ||
| README.md | ||
| tsconfig.json | ||
DiscourseRewind
Display stats on your last year of Discourse usage.
Usage
Navigate to /my/activity/rewind