Incorrect timestamp when unzipping universal apk
- Dominant language
- Java
- Stars
- 4k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When using command `bundletool.jar build-apks` the output zip, containing the apk, will provide an apk with the timestamp set in 1981.
**Bundletool version(s) affected**
Version: All
**Stacktrace**
Copy all of the output of the command, including the stacktrace if visible.
**To Reproduce**
* Run
```
java -jar ./bundletool.jar build-apks --bundle="./resources/example.aab" --output="./bundletool_temp/output.apks" --mode=universal
```
* Extrack the universal apk
* Check timestamp
**Expected behavior**
Expected to have at current date or at least the date the aab was created.
**Known workaround**
You can use `touch` command to update the Modified date.
Contributor guide
Assessment
This issue has not been assessed yet.