Solid-Energy-Systems / NewareNDA

Python module and command line tool for reading and converting Neware nda and ndax battery cycling data files.
BSD 3-Clause "New" or "Revised" License
15 stars 8 forks source link

Time-zone-aware date handling #63

Closed d-cogswell closed 3 months ago

d-cogswell commented 4 months ago

This change defines timestamps using UTC, and then converts them to the local time zone. Dates now have a time zone and are directly comparable. For regression testing, the dates are converted to Unix timestamps for comparison.