timewarrior/doc/holidays/refresh
2016-03-26 13:33:48 -04:00

12 lines
250 B
Python
Executable file

#! usr/bin/env python
import sys
# for each holidays.??-?? file:
# extract locale from file name
# compose holidata.net URL
# download file
# for each line in downloaded file
# convert to timewarrior format
# write to holiday file