[ https://issues.apache.org/jira/browse/FLUME-2889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15168114#comment-15168114 ]
Hari Shreedharan commented on FLUME-2889: ----------------------------------------- +1. LGTM. [~roshan_naik] Please go ahead and commit it, else I will commit it today/tomorrow > Fixes to DateTime computations > ------------------------------- > > Key: FLUME-2889 > URL: https://issues.apache.org/jira/browse/FLUME-2889 > Project: Flume > Issue Type: Bug > Affects Versions: v1.6.0 > Reporter: Roshan Naik > Assignee: Roshan Naik > Attachments: FLUME-2889.patch > > > date.withYear(year+1) can lead to incorrect date calculations .. for example > if the date is Feb 29th. need to use date.plusYears(1) instead. -- This message was sent by Atlassian JIRA (v6.3.4#6332)