mirror of
https://github.com/mue/mue.git
synced 2026-07-11 18:31:47 +02:00
feat(translations): add translation support to welcome modal, fix clock
This commit is contained in:
@@ -49,7 +49,7 @@ export default class Clock extends React.PureComponent {
|
||||
|
||||
if (localStorage.getItem('timeformat') === 'twentyfourhour') {
|
||||
if (zero === 'false') {
|
||||
time = `${now.getHours()}:${('00' + now.getMinutes()).slice(-2)}:${('00' + now.getMinutes()).slice(-2)}`;
|
||||
time = `${now.getHours()}:${('00' + now.getMinutes()).slice(-2)}${sec}`;
|
||||
} else {
|
||||
time = `${('00' + now.getHours()).slice(-2)}:${('00' + now.getMinutes()).slice(-2)}${sec}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user