diff options
author | iNPUTmice <daniel@gultsch.de> | 2015-02-09 11:53:35 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2015-02-09 11:53:35 +0100 |
commit | ac309efcc8a19b23a79283a07a93054b6ebf3356 (patch) | |
tree | 100c1cdf2cb5303a9813a3891fb0e5f211c5bc94 /src/main | |
parent | ae8c021c16b1b2dca20f4fb385d9afc517f4b935 (diff) |
made delay timestamp parser accept nano seconds
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/parser/AbstractParser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/parser/AbstractParser.java b/src/main/java/eu/siacs/conversations/parser/AbstractParser.java index 08070c080..391a2d0d0 100644 --- a/src/main/java/eu/siacs/conversations/parser/AbstractParser.java +++ b/src/main/java/eu/siacs/conversations/parser/AbstractParser.java @@ -41,7 +41,7 @@ public abstract class AbstractParser { timestamp = timestamp.replace("Z", "+0000"); SimpleDateFormat dateFormat; if (timestamp.contains(".")) { - dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ", Locale.US); + dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSSSSZ", Locale.US); } else { dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ",Locale.US); } |