Closed chrislloyd closed 4 years ago
Thanks for bug report and patch!
I've updated the code to use something that should work with both the new change and also be reverse-compatible with older versions of hledger:
df <- mutate(df, date = as.Date(date, tryFormats = c("%Y-%m-%d", "%Y/%m/%d")))
Great! Even better - thank you.
As of hledger#1157,
hledger
outputs dates in ISO format with-
instead of/
.Test Plan
~This PR is entirely unexecuted/untested ATM. Merge with caution.~ Tested locally - my dates import well.