aboutsummaryrefslogtreecommitdiffstats
path: root/jar
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-10-04 17:02:23 -0700
committerColin Cross <ccross@android.com>2017-10-04 17:19:43 -0700
commitbddcf1355540e14f5dba2e58b6a7b7ff0324cb65 (patch)
tree461f92fa72dddaf94738e5a313235ab5d57d3146 /jar
parent60e38b613f7efe6b7af02479b82f1868544b7dc5 (diff)
downloadbuild_soong-bddcf1355540e14f5dba2e58b6a7b7ff0324cb65.tar.gz
build_soong-bddcf1355540e14f5dba2e58b6a7b7ff0324cb65.tar.bz2
build_soong-bddcf1355540e14f5dba2e58b6a7b7ff0324cb65.zip
Change default jar time to match ziptime
Ziptime uses Jan 01 2008, use the same in soong_zip and merge_zips. Test: manual Change-Id: Ie79a2e7864a5ed5a74833caec0a50c25a451859e
Diffstat (limited to 'jar')
-rw-r--r--jar/jar.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/jar/jar.go b/jar/jar.go
index 08fa1abd..653e5eed 100644
--- a/jar/jar.go
+++ b/jar/jar.go
@@ -31,7 +31,7 @@ const (
ModuleInfoClass = "module-info.class"
)
-var DefaultTime = time.Date(2009, 1, 1, 0, 0, 0, 0, time.UTC)
+var DefaultTime = time.Date(2008, 1, 1, 0, 0, 0, 0, time.UTC)
var MetaDirExtra = [2]byte{0xca, 0xfe}