zhumingwei created FLUME-3206:
---------------------------------

             Summary: SyslogUtils failed to parse RFC5424 example3 timestamp  
in correct UTC
                 Key: FLUME-3206
                 URL: https://issues.apache.org/jira/browse/FLUME-3206
             Project: Flume
          Issue Type: Bug
          Components: Master
    Affects Versions: 1.8.0
         Environment: program running in UTC-8 timezone
            Reporter: zhumingwei


RFC5424 timestamp Example 3:  2003-10-11T22:14:15.003Z

when running in UTC-8,SyslogUtils failed to parse the timestamp in correct 
UTC,the result is
1065881655003
Sat Oct 11 22:14:15 GMT+08:00 2003

And SyslogParser.parseRfc5424Date(String timestamp) can get correct 
milliseconds:
1065910455003
Sun Oct 12 06:14:15 GMT+08:00 2003



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to