vdstatus/plugins/date.py
2016-10-18 20:00:43 +03:00

6 lines
92 B
Python

import time
def run(conf):
fmt = conf['date']['format']
return time.strftime(fmt)