datetime.datetime.timestamp does not exist on Windows and datetime.datetiem.strftime('%s') is not supported, since '%s' is a POSIX format. Instead, use the recommended `calendar.timegm(obj.utctimetuple())`. (cherry picked from commit fb14e2a8d6)
fb14e2a8d6