mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 15:35:55 +01:00
🐛 Fix #133
This commit is contained in:
@@ -27,7 +27,7 @@ export default function DateComponent(props: any) {
|
|||||||
config.settings[`${DateModule.title}.full`] === undefined
|
config.settings[`${DateModule.title}.full`] === undefined
|
||||||
? true
|
? true
|
||||||
: config.settings[`${DateModule.title}.full`];
|
: config.settings[`${DateModule.title}.full`];
|
||||||
const formatString = isFullTime ? 'HH:mm' : 'h:mm a';
|
const formatString = isFullTime ? 'HH:mm' : 'h:mm A';
|
||||||
// Change date on minute change
|
// Change date on minute change
|
||||||
// Note: Using 10 000ms instead of 1000ms to chill a little :)
|
// Note: Using 10 000ms instead of 1000ms to chill a little :)
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user