Package coprs :: Module filters
[hide private]
[frames] | no frames]

Module filters

source code

Functions [hide private]
 
date_from_secs(secs) source code
 
perm_type_from_num(num) source code
 
os_name_short(os_name, os_version) source code
 
localized_time(time_in, timezone)
return time shifted into timezone (and printed in ISO format)
source code
Variables [hide private]
  __package__ = 'coprs'
Function Details [hide private]

date_from_secs(secs)

source code 
Decorators:
  • @app.template_filter('date_from_secs')

perm_type_from_num(num)

source code 
Decorators:
  • @app.template_filter('perm_type_from_num')

os_name_short(os_name, os_version)

source code 
Decorators:
  • @app.template_filter('os_name_short')

localized_time(time_in, timezone)

source code 

return time shifted into timezone (and printed in ISO format)

Input is in EPOCH (seconds since epoch).

Decorators:
  • @app.template_filter('localized_time')