[
https://issues.apache.org/jira/browse/FLUME-2889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15256970#comment-15256970
]
ASF subversion and git services commented on FLUME-2889:
--------------------------------------------------------
Commit e6df16d782ae8917b443be81d6a5ad755e02f5c3 in flume's branch
refs/heads/trunk from [~roshan_naik]
[ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=e6df16d ]
FLUME-2889: Fixes to DateTime computations
(Tristan Stevens via Roshan Naik)
> 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: Tristan Stevens
> Fix For: v1.7.0
>
> Attachments: FLUME-2889-2.patch, FLUME-2889-4.patch,
> FLUME-2889.3.patch, 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)