[ https://issues.apache.org/jira/browse/ARROW-14471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17488059#comment-17488059 ]
Dragoș Moldovan-Grünfeld commented on ARROW-14471: -------------------------------------------------- Another alternative would be for {{strptime}} to error when the selected format does not match the data (for example, attempting to parse {{"09-12-31"}} with {{{}"%Y-%m-%d"{}}}should error due to a mismatch in the length of the year). Then we could rely on this behaviour with {{{}coalesce{}}}. Should I create a ticket for this? > [R] Implement lubridate's date/time parsing functions > ----------------------------------------------------- > > Key: ARROW-14471 > URL: https://issues.apache.org/jira/browse/ARROW-14471 > Project: Apache Arrow > Issue Type: Sub-task > Components: R > Reporter: Nicola Crane > Assignee: Dragoș Moldovan-Grünfeld > Priority: Major > Fix For: 8.0.0 > > > Parse dates with year, month, and day components: > ymd() ydm() mdy() myd() dmy() dym() yq() ym() my() > > Parse date-times with year, month, and day, hour, minute, and second > components: > ymd_hms() ymd_hm() ymd_h() dmy_hms() dmy_hm() dmy_h() mdy_hms() mdy_hm() > mdy_h() ydm_hms() ydm_hm() ydm_h() > Parse periods with hour, minute, and second components: > ms() hm() hms() > -- This message was sent by Atlassian Jira (v8.20.1#820001)