Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davwheat/giffgaff-flarum-better-post-dates
Improve the understandability of Flarum's dates on the giffgaff community.
https://github.com/davwheat/giffgaff-flarum-better-post-dates
flarum forum giffgaff tampermonkey tampermonkey-userscript timestamps userscript
Last synced: 10 days ago
JSON representation
Improve the understandability of Flarum's dates on the giffgaff community.
- Host: GitHub
- URL: https://github.com/davwheat/giffgaff-flarum-better-post-dates
- Owner: davwheat
- Created: 2019-08-08T21:59:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-03T10:04:03.000Z (almost 4 years ago)
- Last Synced: 2024-11-26T07:07:02.429Z (2 months ago)
- Topics: flarum, forum, giffgaff, tampermonkey, tampermonkey-userscript, timestamps, userscript
- Language: JavaScript
- Homepage:
- Size: 229 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flarum Better Post Dates
This TamperMonkey user script changes how dates are shown on giffgaff's new Flarum forum.
Some people don't like the `47 minutes ago`, `2 hours ago`, `a day ago` dates on the new forum, so I made something to fix that!
Dates within the past two days (date based, not 48 hours) will have their date text replaced to something nicer and accurate. See the example table below.
## Installation
### Choose a version
There are two different versions of the script: **Version #1** and **Version #2**.
Version #1 shows *ALL* timestamps in `DD/MM/YYYY at HH:MM:SS`.
Version #2 only changes timestamps from the past two days into the above format. Dates longer than 2 days ago will be "fuzzy".
**Examples below.**
### Instructions
1. Install **TamperMonkey** from the [Chrome Web Store](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en) or the [Firefox Addons Store](https://addons.mozilla.org/en-GB/firefox/addon/tampermonkey/) (or any other browser extension store).
2. Choose your version: [Version #1](https://github.com/davwheat/giffgaff-flarum-better-post-dates/raw/master/flarum-date-fix-version-1.user.js), [Version #2](https://github.com/davwheat/giffgaff-flarum-better-post-dates/raw/master/flarum-date-fix-version-2.user.js).
3. Click **Install**
4. Enjoy better post dates## Also see
* [Help and Support auto refresh](https://github.com/davwheat/giffgaff-flarum-auto-refresh#readme)
* [Flarum Infinite Scrolling](https://github.com/davwheat/giffgaff-flarum-infinite-scroll#readme)## Examples
Current date: 08/08/2019 23:00 (DD/MM/YYYY)
| Post Date | Original | Version #1 | Version #2 |
| :-------: | :------- | :------- | :------- |
| 08/08/2019 22:50| 10 minutes ago | 08/08/2019 @ 22:50 | Today at 22:50 |
| 08/08/2019 18:30 | 5 hours ago | 08/08/2019 @ 18:30 | Today at 18:30 |
| 07/08/2019 06:30 | 1 day ago | 07/08/2019 @ 06:30 | Yesterday at 06:30 |
| 06/08/2019 06:30 | 2 days ago | 06/08/2019 @ 06:30 | UNCHANGED |