Turns out "AD" indicates "Atlantic Daylight Time" and "AS" indicates "Atlantic Standard Time" but including the letter "T" was deemed unnecessary by NB Power.
Fix NBPowerClient and add new unit tests for:
time range entirely in daylight saving time
time range of transition into daylight saving time
Here I thought "AD" in the .csv data meant "Anno Domini" and the timestamp was overly-specific about being after the the year 0. Here's a snippet of the problem from http://tso.nbpower.com/reports%20%26%20assessments/load%20forecast/hourly/2017-11-05%2001.csv
Turns out "AD" indicates "Atlantic Daylight Time" and "AS" indicates "Atlantic Standard Time" but including the letter "T" was deemed unnecessary by NB Power.
Fix
NBPowerClient
and add new unit tests for: