Github user sjcorbett commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/682#issuecomment-110296770
  
    @ahgittin I think your comment that the "other option is to mandate a 
single format but that makes things harder to work with as people then have to 
look up the syntax" is erroneous - people will need to look up the syntax 
accepted by Brooklyn anyway. Why is "10.11-2020-12.01" read as 
"2020-12-01-1011" and not "2020-11-10 12:01"? Brooklyn shouldn't make the 
decision, the user should supply the format string for their bonkers date.
    
    We gain some flexibility and we gain a lot of ambiguity. To understand what 
Brooklyn will do with my date I need to understand about 400 lines of Java. I 
would prefer to just have to scan a bunch of DateFormatters, even if they are 
more expensive to express.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to