Show discord timestamps in game

Imported from legacy Flarum.
Original author: KaptainPickles (Flarum #722)

Description:
I’m hoping that we can start showing timestamps in-game that are posted through discord. Discord timestamps are just a simple Unix timestamp followed by format to display. Could we read just the Unix timestamp and post it into in-game chat as a timestamp relative to the timezone you have set at the main office NPC?

Why is this a good idea?
Sometimes its easier to message from discord.. in-game chat lacks cool features of discord and.. emojis! Regardless, discord is heavily used to send messages and they are visible in game. Right now they look like this though:

1775917704-66964-image
That "<t:1775917800:f>" *is meaningless in game. It would make much more sense for it to appear as “*04/11/2026 9:30 AM GMT-5” (I’m Central Time). I included the timezone explicitly because it will be a constant question of what timezone the time is without it.

What risks or downsides does it have?
I don’t think so..

Additional Info:
This is one I’ve been sitting on for a while. Based on discord specs, the formats are simply <t:[Unix Stamp]:[format]>. I would think it would be possible to pull the timestamp from the message and display it to the player in the timezone they have set at the main office setting NPC. I hope? :smiley:

Bonus Points: We use the format from the discord flag and display that format rather than a fixed format.

This would be really cool for posting for future parties, like ToT.

:folded_hands: