timestamp change
-
We had a few different timestamp formats across the api.
timestamp
,timestampISO
,relativeTime
and sometimes it was just a unix timestamp or an ISO timestring.We standardised these to just
timestamp
the unix timestamp andtimestampISO
the ISO version in all routes.https://github.com/NodeBB/NodeBB/commit/f3d2ad5f1f172b3bd9706da049336a691aa58864
If you have a custom theme you need to
- replace
relativeTime
withtimestampISO
- replace
relativeEditTime
witheditedISO
- replace
timestamp
withtimestampISO
on teasers if categories/home page
- replace
-
But... It's a breaking change.
You should not do such stuff when you have now 1.0
Copyright © 2024 NodeBB | Contributors