Permalink
Browse files

Remove non-ASCII character in code

This can cause compilation to fail on some environments with an error
of this type:
[javac] TimestampUtils.java:699: unmappable character for encoding ASCII
  • Loading branch information...
michaelpq committed Oct 14, 2015
1 parent 09d7b77 commit 9f08e46a75deb2f63bd73355b935b5f63799aad6
Showing with 1 addition and 1 deletion.
  1. +1 −1 org/postgresql/jdbc2/TimestampUtils.java
@@ -696,7 +696,7 @@ private long guessTimestamp(long millis, TimeZone tz)
// Backend provided us with something like '2015-10-04 13:40' and it did NOT provide us with a time zone.
// On top of that, user asked us to treat the timestamp as if it were in GMT+02:00.
//
// The code below creates such a timestamp that is rendered as '2015-10-04 13:40 GMT+02:00'ю
// The code below creates such a timestamp that is rendered as '2015-10-04 13:40 GMT+02:00'
// In other words, its UTC value should be 11:40 UTC == 13:40 GMT+02:00.
// It is not sufficient to just subtract offset as you might cross DST change as you subtract.
//

0 comments on commit 9f08e46

Please sign in to comment.