Commit graph

15 commits

Author SHA1 Message Date
Paul Beckingham
268d6cf682 Holidays: Refreshed en-US for both 2016, 2017 2016-11-06 08:21:32 -05:00
Paul Beckingham
6ccbf141de TI-52: The 'refresh' scripts overwrites previous years data
- Thanks to m8r.
2016-11-06 08:20:47 -05:00
Paul Beckingham
ccfa91e572 Holidays: Updated to include 2017 2016-11-05 11:57:50 -04:00
Jelle van der Waa
e4e04c4ba2 TI-42: holiday calendar error when downloading nb-NO
When downloading the holiday calendar for the nb-NO locale with Python 2
the code throws an 'ascii' encode error.
2016-09-03 15:29:05 -04:00
Jelle van der Waa
5ddef40d82 Make holiday refresh script Python 3 compatible
urllib2 is renamed and reworked in Python 3, handle this change by
importing urlopen and HTTPError directly.

Resolve the print issues, by using print() everywhere.

Python3 reads bytes when reading from urlopen() therefore convert it to
a string with .decode('utf-8')
2016-09-03 14:33:26 -04:00
Paul Beckingham
a4f61d90f0 Docs: Typo 2016-08-07 10:23:40 -04:00
Kent R. Spillner
5bb6a0ebff Build: Out of source build improvements for holidays, themes
- Using a separate build directory currently fails during make install
  because none of the files under doc/holidays or doc/themes are being
  by cmake into the build dir.  Add CMakeLists.txt files for both
  doc/holidays and doc/themes, and add the corresponding add_subdirectory
  directives to doc/CMakeLists.txt, to ensure these files are always
  copied into the build directory and installed correctly.
2016-06-28 17:45:03 -04:00
Paul Beckingham
03fafc3dd9 Docs: Updated holidays README 2016-05-18 09:18:23 -05:00
Paul Beckingham
89a94ed81e Docs: Updated en-US holidays using refresh script 2016-05-18 09:10:52 -05:00
Paul Beckingham
a0d975462c Docs: Added 'refresh' script to update holidays 2016-05-18 09:10:00 -05:00
Paul Beckingham
f65ec8c16a Holidays: Updated format so that the key doesn't look like math 2016-03-26 17:14:11 -04:00
Paul Beckingham
c9793da350 Holidays: Added README to explain update/add procedure 2016-03-26 13:36:24 -04:00
Paul Beckingham
63dc3b7405 Holidays: Added stubbed 'refresh' script 2016-03-26 13:33:48 -04:00
Paul Beckingham
1b6282aa2c Holidays: Added a template for the holiday files 2016-03-26 13:31:33 -04:00
Paul Beckingham
6adaa27977 Holidays: Added en-US 2016-03-17 11:42:08 -04:00