title: How to validate that a string is a time in RFC3339 format?
body: <p>I have the following string <code>'2012-10-09T19:00:55Z'</code> and I want to verify it's in <code>RFC3339</code> time format.</p>
  <p>One (wrong) approach would be to do something like the following:</p>
  <pre><code>datetime.strptime('2012-10-09T19:00:55Z', '%Y-%m-%dT%H:%M:%S.%fZ')
  </code></pre>
  <p>The issue here is that this return a non time zone aware object as pointed out <a href="https://stackoverflow.com/questions/1941927/convert-an-rfc-3339-time-to-a-standard-python-timestamp">here</a>.</p>
  <p>Any idea how can I achieve this?</p>