implement more LogSource features (logs for date, cleanup last_logs), implement irssi parser, formatter, other misc. stuff
"""
Some additional helpers
"""
# "inherit" qmsk.web's helpers
from qmsk.web.helpers import *
def tz_name (tz) :
"""
Returns a string describing the given timezone
"""
return str(tz)
def fmt_date (date) :
"""
Formats a date
"""
# XXX: hardcoded
return date.strftime('%Y-%m-%d')