luarocks / luarocks/luarocks-site
[Bug] Module page displaying wrong version release dates
Nobody has claimed this yet.
- Dominant language
- MoonScript
- Stars
- 201
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
Any version of any available library is showing "3 days ago" as the release date once the release is more than 3 days old. Any release with less than 3 days of release displays its date correctly. This wasn't happening before.
You can check out recent versions in the LuaRocks landing to verify this behavior with recently uploaded rockspecs, and then compare it with any other existing module such as [lua-cjson](https://luarocks.org/modules/openresty/lua-cjson).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare recent rockspecs on the LuaRocks landing page with an existing module such as lua-cjson, focusing on how release dates older than three days are displayed. Trace the page's release-date handling and verify that older releases show their actual dates while newer releases retain correct relative dates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100