You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the if-statement is checking for both the shorttime / timeMode.split to be of a certain length, and the registry key to be set.
Seconds in the clock were not showing up for me even though I had the registry key set, but my shorttime was using AM/PM.
I did some debug printing of the variables through the steps:
should this not be changed to an OR statement instead of an AND?
so, something along the lines of changing this:
if not("s" in timeMode) and len(timeMode.split(" "))==1 and showSeconds==1:
to
if not("s" in timeMode) and (len(timeMode.split(" "))==1 or showSeconds==1):
The text was updated successfully, but these errors were encountered:
Describe the bug
It looks like the if-statement is checking for both the shorttime / timeMode.split to be of a certain length, and the registry key to be set.
Seconds in the clock were not showing up for me even though I had the registry key set, but my shorttime was using AM/PM.
I did some debug printing of the variables through the steps:
showSeconds: 1
dateMode: yyyy-MM-dd
timeMode: h:mm tt
timeMode: %#I:%M %p
timeMode split length: 2
timeMode: %#I:%M %p
dateTimeFormat: %#I:%M %p
%Y-%m-%d
should this not be changed to an OR statement instead of an AND?
so, something along the lines of changing this:
if not("s" in timeMode) and len(timeMode.split(" "))==1 and showSeconds==1:
to
if not("s" in timeMode) and (len(timeMode.split(" "))==1 or showSeconds==1):
The text was updated successfully, but these errors were encountered: