summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Brox <tobias@redpill-linpro.com>2020-08-16 15:08:38 +0200
committerTobias Brox <tobias@redpill-linpro.com>2020-08-16 15:08:48 +0200
commitf67fa8be1f55f6db015e5e9bb478ae939deb57c6 (patch)
treef468f0a81c32e0427fb012b91ecc3787e380dfa7
parent70354a3ddd170cb724aef918ca37f28fd791e36c (diff)
downloadcalendar-cli-f67fa8be1f55f6db015e5e9bb478ae939deb57c6.zip
random todo-comment
-rwxr-xr-xcalendar-cli.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/calendar-cli.py b/calendar-cli.py
index a6c16d1..c7b0edb 100755
--- a/calendar-cli.py
+++ b/calendar-cli.py
@@ -103,6 +103,7 @@ def _tz(timezone=None):
## global constant
## (todo: this doesn't really work out that well, leap seconds/days are not considered, and we're missing the month unit)
+## (todo: Sebastian Brox has made some other code using regexps and dateutil.relativedelta, should consider to steal his code)
time_units = {
's': 1, 'm': 60, 'h': 3600,
'd': 86400, 'w': 604800, 'y': 31536000