[ https://issues.apache.org/jira/browse/TINKERPOP-2596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17416887#comment-17416887 ]
ASF GitHub Bot commented on TINKERPOP-2596: ------------------------------------------- krlawrence commented on pull request #1475: URL: https://github.com/apache/tinkerpop/pull/1475#issuecomment-922026901 I see two possible ways we could interpret `datetime("12:00")`. 1. 12:00 on Jan 1, 1970 2. 12:00 UTC today . This would also align well with TZ offsets such as `-5:00` and + `6:00` (this has the interesting side effect that it sort of gives us a `now()` equivalent for a current TZ) The W3C note from 1997 defines an interesting profile along these lines: https://www.w3.org/TR/NOTE-datetime -- 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: commits-unsubscr...@tinkerpop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org > 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)