This commit is contained in:
ajnart
2022-05-22 20:40:10 +02:00
parent b11bffb7cf
commit bf85818f8b

View File

@@ -27,7 +27,7 @@ export default function DateComponent(props: any) {
config.settings[`${DateModule.title}.full`] === undefined
? true
: 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
// Note: Using 10 000ms instead of 1000ms to chill a little :)
useEffect(() => {