Commit 76220fe7 authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Optimized two functions slightly.

This avoids calling date.tzinfo.utcoffset(date) twice. It's also
robust to cases where that function returns None -- which never
happens in practice :-)
parent 432678db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment