(p string)
| 974 | } |
| 975 | |
| 976 | func priorityShort(p string) string { |
| 977 | switch p { |
| 978 | case "high": |
| 979 | return "high" |
| 980 | case "medium": |
| 981 | return "med" |
| 982 | case "low": |
| 983 | return "low" |
| 984 | } |
| 985 | return p |
| 986 | } |
| 987 | |
| 988 | // parseSince converts "today" / "monday" / "7d" / "YYYY-MM-DD" / "Nd" |
| 989 | // into an absolute time lower bound, interpreted in local time. `now` is |
no outgoing calls
no test coverage detected