allow seconds as Rational in Time.local and set nanoseconds from it
fix logic of RubyDateFormat for %N, it is right zero-padded (String.format() cannot do that)