lib/helpers.py
branchsites
changeset 29 b06ff4c05d42
parent 28 b68145b5ce24
child 42 5a72c00c4ae4
equal deleted inserted replaced
28:b68145b5ce24 29:b06ff4c05d42
    11         Returns the current date/time
    11         Returns the current date/time
    12     """
    12     """
    13 
    13 
    14     return time.strftime(config.DATETIME_FMT)
    14     return time.strftime(config.DATETIME_FMT)
    15 
    15 
       
    16 def copyright_year () :
       
    17     """
       
    18         Returns the current year
       
    19     """
       
    20 
       
    21     return time.strftime("%Y")
       
    22 
    16 def breadcrumb (trail, links=True) :
    23 def breadcrumb (trail, links=True) :
    17     """
    24     """
    18         Returns a nicely formatted breadcrumb tail, optinally with links
    25         Returns a nicely formatted breadcrumb tail, optinally with links
    19     """
    26     """
    20 
    27