BUG: fix GH8989 to parse nanoseconds with %f format