lib/helpers.py
branchsites
changeset 170 532c595efa1a
parent 169 26bf8b8bc3cc
child 42 5a72c00c4ae4
equal deleted inserted replaced
169:26bf8b8bc3cc 170:532c595efa1a
    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