mirror of
https://github.com/mue/mue.git
synced 2026-07-08 21:24:57 +02:00
fix: close #164
This commit is contained in:
@@ -44,11 +44,7 @@ export default class Clock extends React.PureComponent {
|
||||
const zero = localStorage.getItem('zero');
|
||||
|
||||
if (localStorage.getItem('seconds') === 'true') {
|
||||
if (zero === 'false') {
|
||||
sec = ':' + now.getSeconds();
|
||||
} else {
|
||||
sec = `:${('00' + now.getSeconds()).slice(-2)}`;
|
||||
}
|
||||
sec = `:${('00' + now.getSeconds()).slice(-2)}`;
|
||||
}
|
||||
|
||||
if (localStorage.getItem('timeformat') === 'twentyfourhour') {
|
||||
|
||||
Reference in New Issue
Block a user