AllMyPrinters
Alle Themen
WunschErledigt in 0.19.6

Suggestion: 24-hour time

Burnie

Hi,

I have one feature request/suggestion.

Setup
- Agent: allmyprinters-agent 0.18.2 (Docker, ghcr.io/nolimitek/allmyprinters-agent@sha256:850d686d528e30c42a72b6e1fb51c047e7fc652316392f53323008b6c7b7d636), on the home LAN
- Android app: version [FYLL I], paired with the agent over the LAN tunnel ("Access from anywhere" off)
- Printer: Anycubic Kobra X, firmware 2.0.2.8, LAN mode, ACE unit attached
- Remote relay and push via allmyprinters.com are disabled. The plan is fetched normally (beta, valid).

##Feature request: 24-hour time for the expected finish time

The expected finish time of a print is shown with AM/PM. Please add an option for 24-hour time (or follow the phone's own 24-hour setting).

From the agent code, the time is formatted with the app language: toLocaleTimeString(LANG, { hour: '2-digit', minute: '2-digit' }), so English always gives AM/PM. In many countries (here Sweden, where the app has no Swedish translation and English is used) 24-hour time is the norm. A setting "Time format: 12 h / 24 h / system", or using the device locale (undefined instead of LANG) for times only, would solve it.

Thanks for the app, it works well otherwise!

Will ich auch0

1 Antwort

Chris Team

Hi Burnie,

good point – it's in version 0.19.6, which goes out later today: Settings → General → Time format, with Automatic, 24-hour and 12-hour.

Automatic switches to 24-hour as soon as either the app language or your device's region uses it. So with a Swedish (or British) region you get 24-hour times even with the app in English. If your phone is set to a 12-hour region, just pick 24-hour.

The setting applies per device, so the app and a browser on your PC can each have their own.

Cheers
Chris

Zum Antworten anmelden

Inhalt melden