aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.ssh.jsch.test/tst
diff options
context:
space:
mode:
authorIvan Frade <ifrade@google.com>2024-12-09 13:31:44 -0800
committerIvan Frade <ifrade@google.com>2024-12-09 13:35:00 -0800
commit76274b62a2cf4da2feb1ac7e9ed6c982d9d3f087 (patch)
tree6dd4da07b9e3ef6b4b3850b074be0a71a2853be1 /org.eclipse.jgit.ssh.jsch.test/tst
parente081e9b9049ff3ffb085cae40d50ebdfb563ef17 (diff)
downloadjgit-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