mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-06 21:57:48 +01:00
Feature: Added timeStyle to date format for custom API (#2294)
* Add timeStyle option to custom API date format * Update documentation
This commit is contained in:
committed by
GitHub
parent
dc8bea95ac
commit
fc67e1a986
@@ -35,6 +35,7 @@ widget:
|
||||
label: Field 4
|
||||
format: date # optional - defaults to text
|
||||
dateStyle: long # optional - defaults to "long". Allowed values: `["full", "long", "medium", "short"]`.
|
||||
timeStyle: medium # optional - Allowed values: `["full", "long", "medium", "short"]`.
|
||||
```
|
||||
|
||||
Supported formats for the values are `text`, `number`, `float`, `percent`, `bytes`, `bitrate` and `date`.
|
||||
|
||||
Reference in New Issue
Block a user