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

Andy LoPresto commented on NIFI-2688:
-------------------------------------

To avoid having to do this again in the future, I checked [Wikipedia's List of 
time zone 
abbreviations|https://en.wikipedia.org/wiki/List_of_time_zone_abbreviations]. 
The abbreviations range from *2* to *5* characters, so I will submit a PR and 
unit tests which capture those changes. 

I may also explore switching back from a regex-based assertion to using 
{{DateFormat.format(Date date)}} to appropriately capture the locale format, 
but the test will need to convert the String representation captured from the 
serialized properties back into a {{Date}} instance in order to do fuzzy 
checking -- ±1 second should be sufficient. 

> ConfigEncryptionToolTest causes build to fail when building using 4 letter 
> time locales (e.g. AEST)
> ---------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-2688
>                 URL: https://issues.apache.org/jira/browse/NIFI-2688
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Andre
>            Assignee: Andre
>            Priority: Trivial
>
> ConfigEncryptionToolTest causes build to fail when using 4 letter timezones.



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

Reply via email to