Utilizing C++11 and platform specific function(timegm) to replace the usage of boost in converting a timestamp in string to a unix epoch.
Moved the old function to the unit tests to check for consistency (in case there’s some corner case in timezones)
Sadly C++11 doesn’t have anything to handle timezones currently(C++20 seems to have heh) so I had to use timegm
from POSIX and _mkgmtime
from windows.
Tested on linux only.