Updated ioBroker Config Screensaver (markdown)

Armilar
2023-10-30 14:00:00 +01:00
parent 2a948cd5f6
commit 28267a67f1

@@ -207,7 +207,19 @@ export const config = <Config> {
[], [],
``` ```
**Wie kann ich das Format eines Datums oder einer Uhrzeit ändern?** **Wie kann ich das Format eines Datums oder einer Uhrzeit ändern? (ab v4.3.2)**
Es wird ab der v4.3.2. jetzt die toLocalString() Methode im TS-Script verwendet. Folgende Parameter sind möglich:
* weekday - "narrow", "short", "long"
* era - "narrow", "short", "long"
* year - "numeric", "2-digit"
* month - "numeric", "2-digit", "narrow", "short", "long"
* day - "numeric", "2-digit"
* hour - "numeric", "2-digit"
* minute - "numeric", "2-digit"
* second - "numeric", "2-digit"
* timeZoneName - "short", "long"
Beispiel 1: Uhrzeit Beispiel 1: Uhrzeit
```typescript ```typescript