Skip to content

timelet@linuxedo.com: fixed clock freezing with 12h setting on 12:00#1707

Open
NotSirius-A wants to merge 1 commit intolinuxmint:masterfrom
NotSirius-A:timelet@linuxedo.com--fix
Open

timelet@linuxedo.com: fixed clock freezing with 12h setting on 12:00#1707
NotSirius-A wants to merge 1 commit intolinuxmint:masterfrom
NotSirius-A:timelet@linuxedo.com--fix

Conversation

@NotSirius-A
Copy link
Copy Markdown
Contributor

Hello,
@slgobinath

This PR closes #1448.

@alejandrolemus already found a solution to this, it feels wrong to take credit, but it's been some time and I don't think they made a PR, so I'm submitting my version of it.

I've deleted the:

} else if (hourIn24 == 12 && date.getMinutes() == 0 && date.getSeconds() == 0) {
    return _("Noon");
} 

I think it's not needed, since this adds complexity to this function for almost no reason, as the text "Noon" would be displayed for only 1 second.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Timelet (timelet@linuxedo.com)

1 participant