tz -> tww
This commit is contained in:
parent
373afad423
commit
fae628b534
@ -1,5 +1,8 @@
|
||||
#!/usr/bin/env python
|
||||
"""
|
||||
Find time now, in the past or future in any timezone or location.
|
||||
"""
|
||||
|
||||
import os
|
||||
import argparse
|
||||
import logging
|
||||
@ -19,7 +22,7 @@ logger = logging.getLogger()
|
||||
|
||||
def parse_args():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('query', nargs='*', help="<datetime-like> to <timezone-like or location string>")
|
||||
parser.add_argument('query', nargs='*', default="now", help="<datetime-like> to <timezone-like or location string>")
|
||||
parser.add_argument('--format', dest='format', default=DEFAULT_FORMAT)
|
||||
parser.add_argument('--iso', dest='iso', action='store_true')
|
||||
parser.add_argument('--debug', dest='debug', action='store_true')
|
Loading…
Reference in New Issue
Block a user