I've got a list of dates with no timezone info, however I know the timezone and the fact that they're localtime. I want to convert to standard time in order to perform timezone analysis

In Sydney daylight savings ends at 3am DST, so the first 5 rows should by +11:00 DST and the remainder +10:00 STD. The result I get is the first row is +11:00 DST and the remainder is +10:00 STD.

Is there a built in way of localising a list of dates, given that I know they're sorted. It appears you're expected to know if is\_dst=True or is\_dst=False in order to handle the overlap. 

Regards
Dave

```
import pytz

times = [
    datetime(2013,4,7,1,45,0)
    ,datetime(2013,4,7,2,0,0)
    ,datetime(2013,4,7,2,15,0)
    ,datetime(2013,4,7,2,30,0)
    ,datetime(2013,4,7,2,45,0)
    ,datetime(2013,4,7,2,00,0)
    ,datetime(2013,4,7,2,15,0)
    ,datetime(2013,4,7,2,30,0)
]
#
timezone = pytz.timezone('Australia/Sydney')
localized = map(timezone.localize, times)

for t,l in zip(times, localized):
    print(t,l)

```