Plan icon indicating copy to clipboard operation
Plan copied to clipboard

Formatting.date.* not displayed

Open SlimeDog opened this issue 2 years ago • 1 comments

Describe the issue

Formats defined in config.yml are not displayed correctly.

Formatting:
    Dates:
        Show_recent_day_names_date_pattern: 'YYYY-MM-dd'
        Full: 'YYYY-MM-dd HH:mm:ss'
        NoSeconds: 'YYYY-MM-dd HH:mm'
        JustClock: HH:mm:ss

For example:

Dec 9, 2022
Dec 10, 2022
Sep '22
Dec '22

Screen Shot 2022-12-09 at 11 31 57 PM

Plugin versions

>version
[23:30:10] [Server thread/INFO]: This server is running CraftBukkit version 3610-Spigot-6198b5a-19df23a (MC: 1.19.2) (Implementing API version 1.19.2-R0.1-SNAPSHOT)
>version Plan
[23:30:13] [Server thread/INFO]: Plan version 5.5 build 2121
[23:30:13] [Server thread/INFO]: Author: AuroraLS3

Same with Paper 1.19.3-310

SlimeDog avatar Dec 10 '22 07:12 SlimeDog

TODO

  • [x] Pass date formatting settings through metadata endpoint
  • [x] Implement date formatting functions in the frontend
  • [ ] Use the formatting functions with graphs

AuroraLS3 avatar Jan 25 '23 14:01 AuroraLS3