vdstatus/plugins/date.py

7 lines
92 B
Python
Raw Normal View History

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