def get_readable_ctx_date(ctx):
 (t, tz) = ctx.date()
 date = datetime(*gmtime((float(t) - tz))[:6])
 ctx_date = date.strftime('%Y-%m-%d')
 return ctx_date

def get_readable_ctx_date ( ctx ) : ( t , tz ) = ctx . date ( ) date = datetime ( * gmtime ( ( float ( t ) - tz ) ) [ : 6 ] ) ctx_date = date . strftime ( '%Y-%m-%d' ) return ctx_date
convert the date of the changeset to a human-readable date .