Fix unrecognized 'Z' UTC designator

closes #8771 
You mean adding checks in convert_to_tsobject? Sorry if I am a bit nitpicky
here but I think all those checks should be the responsibility of the
parser only and should not be spread across modules. That's why I am a bit
reluctant to do it. I think the cleanest way to do it currently is to allow
the *internal* parser to somehow bypass the fallback and be able to raise
errors of its own: if I am correct currently the internal parser raises the
same kind of exception (ValueError) for two different things: legit but
unsupported (not implemented) iso 8601 strings on one side and real ill
formed datetime strings on the other.

Le dimanche 16 novembre 2014, jreback <notifications@github.com> a écrit :

> In pandas/tseries/tests/test_tslib.py:
>
> > @@ -298,6 +298,9 @@ def test_barely_oob_dts(self):
> >          # One us more than the maximum is an error
> >          self.assertRaises(ValueError, Timestamp, max_ts_us + one_us)
> >
> > +    def test_utc_z_designator(self):
> > +        self.assertEqual(get_timezone(Timestamp('2014-11-02 01:00Z').tzinfo), 'UTC')
>
> ok, so check there. These are cases that should be cause then as errors.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/pydata/pandas/pull/8832/files#r20410546>.
>


-- 

Benoît.