vdstatus/plugins/date.py

7 lines
84 B
Python
Raw Normal View History

2016-10-18 20:00:43 +03:00
import time
def run(conf):
fmt = conf['format']
2016-10-18 20:00:43 +03:00
return time.strftime(fmt)