I have a DateTimeField in one of my models
If the template displays {{ model.datetime }} , I see:
Aug. 13, 2013, 7:57 pm
If the template displays {{ model.datetime.time }} , I see:
2:57 am
I want it to just display 7:57 pm How can I get it to use the correct time zone. I tried with model.datetime.timetz , but with the same result.
python django django-templates
bwbrowning
source share