diff options
author | Ivan Frade <ifrade@google.com> | 2024-12-09 13:31:44 -0800 |
---|---|---|
committer | Ivan Frade <ifrade@google.com> | 2024-12-09 13:35:00 -0800 |
commit | 76274b62a2cf4da2feb1ac7e9ed6c982d9d3f087 (patch) | |
tree | 6dd4da07b9e3ef6b4b3850b074be0a71a2853be1 /org.eclipse.jgit.ssh.jsch.test/tst | |
parent | e081e9b9049ff3ffb085cae40d50ebdfb563ef17 (diff) | |
download | jgit-76274b62a2cf4da2feb1ac7e9ed6c982d9d3f087.tar.gz jgit-76274b62a2cf4da2feb1ac7e9ed6c982d9d3f087.zip |
PersonIdent: Default to UTC in timezone parsing
The old method "getTimeZone(int tzOffset)" defaults to UTC if the
offset is out of range, but the new "getZoneId(int tzOffset)" throws
an exception.
Return UTC if the offset is invalid, to keep the behavior consistent
with older code.
Change-Id: Iffe1980b3bd9c05ef2293635a1cbb493144afb79
Diffstat (limited to 'org.eclipse.jgit.ssh.jsch.test/tst')
0 files changed, 0 insertions, 0 deletions