Skip to content

davwheat/giffgaff-flarum-better-post-dates

Repository files navigation

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 or the Firefox Addons Store (or any other browser extension store).
  2. Choose your version: Version #1, Version #2.
  3. Click Install
  4. Enjoy better post dates

Also see

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

About

Improve the understandability of Flarum's dates on the giffgaff community.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •