Show the data if the timestamp is more than 6 days ago
authorAlexander Ebert <ebert@woltlab.com>
Thu, 5 Oct 2023 15:28:16 +0000 (17:28 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 5 Oct 2023 15:28:16 +0000 (17:28 +0200)
commit9760447e9371fdee4e40323fb66cb3c59b8c6c91
treeebb7fcf0535cbf53eb30c3f2faf660965b1e1efc
parent07377f62dfe665cccaface2f1fbd995e98001662
Show the data if the timestamp is more than 6 days ago

This prevents dates reading the “current” day but are actually referring to the same day of the week before.

The behavior is now in sync with the relative timestamp in <= 5.5 which also used 6 days as the maximum to use day names.

See https://www.woltlab.com/community/thread/301903-datum-wochentagsanzeige/
ts/WoltLabSuite/WebComponent/woltlab-core-date-time.ts
wcfsetup/install/files/js/WoltLabSuite/WebComponent.min.js