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
Right now this just uses a very basic regex to grab the first two numbers from the user input string so the h and m don't actually do anything. This should probably be updated anyway for better erorr checking and you're probably right in saying this would be a better way to do it. I'll look into replacing it with something like \d(?=h) for hours and \d(?=m) for minutes.
Currently you need to write
5h 0m
for logging 5 hours, and0h 30m
for logging 30 minutes.Is it possible to have this just be
5h
and30m
respectively.The text was updated successfully, but these errors were encountered: