Compare commits
2 Commits
d54ecf0733
...
b00e758dd5
Author | SHA1 | Date |
---|---|---|
Fred Boniface | b00e758dd5 | |
Fred Boniface | 4056d962e9 |
|
@ -194,7 +194,7 @@ def _helpParseDays(string):
|
|||
|
||||
def _helpParseDate(string :str, time :str = "false"):
|
||||
# Incoming string contains date in format %Y-%m-%d, if the time signified end of schedule,
|
||||
# append 23:59:59 to the time, else append 00:00:00 to the string.
|
||||
# append 23:59:59 to the time, else append 00:00:00 to the string and localize the object.
|
||||
if time == "end":
|
||||
string += " 235959"
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue