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

ASF GitHub Bot commented on TINKERPOP-2596:
-------------------------------------------

joshsh commented on pull request #1475:
URL: https://github.com/apache/tinkerpop/pull/1475#issuecomment-921938120


   > > if I create a date using datetime("12:00"), that means "12pm UTC on 
January 1, 1970"?
   > 
   > yes. i was copying jodatime's parsing implementation here.
   
   OK. Just seems like this will never, ever be used -- or if it used, the user 
may use it incorrectly, thinking the time refers to the current day of the year.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


> datetime function
> -----------------
>
>                 Key: TINKERPOP-2596
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2596
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: language
>    Affects Versions: 3.5.1
>            Reporter: Stephen Mallette
>            Priority: Major
>
> Include a {{datetime()}} function in the grammar that will parse a ISO-8601 
> formatted date:
> {code}
> datetime('2021-07-21')
> datetime('2021-07-21T01:12:59')
> datetime('2021-07-21T01:12:59+0500')
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to