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
deftimefromstring(s):
""" :param s : String to parse time from :returns : Time in seconds """s=s.removeprefix("for")
# reduce colon notation to hms notationif':'ins:
# if only one colon, assume Xm:Xsifs.count(':') ==1:
s=f"0:{s}"s=s.replace(":", "h", 1).replace(":", "m", 1) +"s"returnint(Duration(s).to_seconds())
I don't have write access so I can't create the edit myself, nor can I add the "enhancement" tag to this post, apparently. (This is my first time posting an issue on a repo I don't own so this is a bit confusing for me.)
The text was updated successfully, but these errors were encountered:
timpunny
changed the title
allow colon notation [HH:mm:ss] for remindme command
allow colon notation [HH:mm:ss] for remindme command [enhancement]
Jun 15, 2024
Proposed solution in util.py:
I don't have write access so I can't create the edit myself, nor can I add the "enhancement" tag to this post, apparently. (This is my first time posting an issue on a repo I don't own so this is a bit confusing for me.)
The text was updated successfully, but these errors were encountered: