Created
April 12, 2018 21:41
-
-
Save enebo/25bb5f1a37cae52d32ecd13eef4871ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/java/arjdbc/util/DateTimeUtils.java b/src/java/arjdbc/util/DateTimeUtils.java | |
index e341fe4a..6e7cbacf 100644 | |
--- a/src/java/arjdbc/util/DateTimeUtils.java | |
+++ b/src/java/arjdbc/util/DateTimeUtils.java | |
@@ -462,7 +462,8 @@ public abstract class DateTimeUtils { | |
for ( ; numlen < 3; ++numlen ) millis *= 10; | |
} | |
else { | |
- nanos = extractIntValue(str, start + 1, end); | |
+ millis = extractIntValue(str, start + 1, start + 4); | |
+ nanos = extractIntValue(str, start + 5, end); | |
for ( ; numlen < 9; ++numlen ) nanos *= 10; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment