mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Fix typos
This commit is contained in:
parent
ac18340757
commit
3aa932eafe
9 changed files with 13 additions and 13 deletions
|
@ -1,4 +1,4 @@
|
|||
# Holiday data provided by Holidata.net
|
||||
# Holiday data provided by holidata.net
|
||||
# Generated 2016-11-06T08:20:37
|
||||
|
||||
define holidays:
|
||||
|
|
|
@ -53,7 +53,7 @@ def update_locales(locales, regions, years):
|
|||
|
||||
for locale in locales:
|
||||
with open("holidays.%s" % locale, "w") as fh:
|
||||
fh.write('# Holiday data provided by Holidata.net\n')
|
||||
fh.write('# Holiday data provided by holidata.net\n')
|
||||
fh.write('# Generated ' + time.strftime('%Y-%m-%dT%H:%M:%S') + '\n\n')
|
||||
fh.write('define holidays:\n')
|
||||
fh.write(' ' + locale + ':\n')
|
||||
|
@ -79,7 +79,7 @@ def update_locales(locales, regions, years):
|
|||
|
||||
except HTTPError as e:
|
||||
if e.code == 404:
|
||||
print("Holidata.net does not have data for %s, for %d." % (locale, year))
|
||||
print("holidata.net does not have data for %s, for %d." % (locale, year))
|
||||
else:
|
||||
print(e.code, e.read())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue