Displaying 1 result from an estimated 1 matches for "17_35_14_mp3".
2017 Jan 11
4
bug with strptime, %OS, and "."
...r my application it seems to be "greedy", in that it
tries to parse a decimal point which might belong to the rest of the
format:
> strptime("17_35_14.mp3","%H_%M_%OS.mp3")
[1] NA
If I use "_" instead of ".", then it works:
> strptime("17_35_14_mp3","%H_%M_%OS_mp3")
[1] "2017-01-10 17:35:14 PST"
Perhaps a low priority, but seems like a bug to me...
Thanks,
Frederick