Commit 478ea61a authored by Victor Chang's avatar Victor Chang
Browse files

Make distro.zip independent of timezone on the local machine

- ZipEntry.getTime uses default TimeZone to convert the UTC time
  if the year >= 1980. Use epoch time 0 (year = 1970)
  to avoid conversion.

Test: ./update-tzdata.py when machine is on UTC
Test: ./update-tzdata.py when machine is on UTC+1
Change-Id: Ib4f450adeaac53aaf34d5fb7ef72ffd32418e3e1
parent 1f920702
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment