Skip to content

Dates and times all muddled #1458

@tarmacalastair

Description

@tarmacalastair

Hello
🐞 Describe the bug

I'm still getting a problem with dates and times. I think the US is pretty much the only country in the world where dates are formatted mm/dd/yyyy. We in the UK use dd/mm/yyy as do most other countries. I would also personally prefer to use times in 24 hour format rather than AM/PM.

I first tried using the ntfy.sh website and got the results shown in the screenshot (in both the Android app and the website). But I can't see any option in the app or website to modify date or time formats. As you can see the header shows the date as dd/mm/yyy and the time in 24 hour format but later within the message the date is in American format and the time is in AM/PM format and is now showing 1 hour behind in GMT.

When I found this issue and #475 I thought I'd try setting up ntfy in Docker so I could specify the TZ variable but I get exactly the same issues.

ntfy does now seem to honour the TZ variable in the header of each message but now the date and time formats don't seem to be consistent within the same message - see screenshot and notes above.

Thanks.

💻 Components impacted

So it seems that there is a problem in both the web and app version, using a self-hosted server or https://ntfy.sh

💡 Screenshots and/or logs

Image

🔮 Additional context

I am using ntfy to get messages from my duplistatus docker stack. I have set the TZ variable in both stacks to Europe/London.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🪲 bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions