[ 
https://issues.apache.org/jira/browse/NIFI-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15314540#comment-15314540
 ] 

Mark Payne commented on NIFI-1958:
----------------------------------

[~alopresto] I can understand adding the "week" time duration, but I don't 
think month and year really are good candidates, as you can't really convert a 
month into a smaller unit like seconds because the month may have 28, 29, 30, 
or 31 days in it. And because of leap years you can't really convert years into 
seconds, etc. either. Is there a particular use case where you see a need for 
months or years?

> FormatUtils does not handle time units larger than "day"
> --------------------------------------------------------
>
>                 Key: NIFI-1958
>                 URL: https://issues.apache.org/jira/browse/NIFI-1958
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 0.6.1
>            Reporter: Andy LoPresto
>              Labels: beginner, time, unit
>             Fix For: 1.0.0, 0.7.0
>
>
> {{FormatUtils}}, the class used to handle unit conversions from user-provided 
> configuration values, does not accept values using "week", "month", "year", 
> etc. These units should be added. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to