Github user Peilin-Yang commented on the issue:

    https://github.com/apache/zeppelin/pull/1500
  
    @felizbear 
    The code of this PR uses `momentjs` to parse the string to date.
    Specifically, http://momentjs.com/docs/#/parsing/string/ 
    Integers are not of ISO8601 format so javascript's native method `Date` is 
called to parse the string.
    More details can be found at  
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse
    In your example, integer strings smaller than 13 are parsed as `nn/01/2001` 
and `44` is parsed as `01/01/2044`.
    To be honest I am also confusing why `23` and `24` are not parsed but it is 
definitely related to how `Date` parses them.
      



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to