filters-maker/version.py

12 lines
199 B
Python
Raw Normal View History

2021-08-17 07:14:06 +00:00
import re
import datetime
import pytz
UTC = pytz.utc
date = datetime.datetime.now(UTC)
def build(incoming):
with open(incoming, 'w') as f:
f.write('\n'.join([str(date)]))
f.close()