assist/command/__init__.py
def date(short=False):
    "Return the current date as a string. "
    if isinstance(short, str):
        now = parser.parse(str(short))
        return now.strftime("%a %b %d, %Y %r")
    now = datetime.now()
    if not short:
        return now.strftime("%a %b %d, %Y %r")
    return now.strftime("%Y-%m-%d-%H-%M-%S")
Return the current date as a string. 
Return the current date as a string.
Return the current date as a string .
def date(short=False):
    if isinstance(short, str):
        now = parser.parse(str(short))
        return now.strftime("%a %b %d, %Y %r")
    now = datetime.now()
    if not short:
        return now.strftime("%a %b %d, %Y %r")
    return now.strftime("%Y-%m-%d-%H-%M-%S")
def date ( short = False ) : if isinstance ( short , str ) : now = parser . parse ( str ( short ) ) return now . strftime ( "%a %b %d, %Y %r" ) now = datetime . now ( ) if not short : return now . strftime ( "%a %b %d, %Y %r" ) return now . strftime ( "%Y-%m-%d-%H-%M-%S" )
Return the current date as a string.
Return the current date as a string .
"Return the current date as a string. "
short