bpb/utils.py
def prettify_date(dt_object):
    """
    Pretty-format a datetime object

    Args:
        dt_object(datetime.datetime): A datetime object.

    Returns:
        str: A pretty-formatted date.
    """

    return dt_object.strftime("%A %Hh%M, %d %b %Y")

    Pretty-format a datetime object

    Args:
        dt_object(datetime.datetime): A datetime object.

    Returns:
        str: A pretty-formatted date.
    
Pretty-format a datetime object
Pretty - format a datetime object
def prettify_date(dt_object):
    return dt_object.strftime("%A %Hh%M, %d %b %Y")
def prettify_date ( dt_object ) : return dt_object . strftime ( "%A %Hh%M, %d %b %Y" )
Pretty-format a datetime object
Pretty - format a datetime object
"""
    Pretty-format a datetime object

    Args:
        dt_object(datetime.datetime): A datetime object.

    Returns:
        str: A pretty-formatted date.
    """
A pretty-formatted date.
A pretty - formatted date .
str
dt_object
A datetime object.
A datetime object .