I have a vector of strings which I need to convert to dates. This only works for some of the dates which are in the format of "dd-mmm-YYYY".
Example: this works: strptime("21-Sep-2017", format = "%d-%b-%Y")
This does not work and returns NA
: strptime("21-Dec-2017", format = "%d-%b-%Y")
What am I doing wrong or not seeing?