Opened 9 years ago

Closed 9 years ago

#11227 closed (wontfix)

tutorial #02 -

Reported by: anon_who_is_annoyed_by_spam_filter Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Code part:

def was_published_today(self):
    return ==

This baffled me for some time - after adding anything I got false. The problem was with time zones - Django's had another time zone.

I would add a small comment in the documentation, or change to some function which respects time zone in

Change History (1)

comment:1 Changed 9 years ago by Russell Keith-Magee

Resolution: wontfix
Status: newclosed

In the tutorial, all the data should be created using Django, so all the data should have the same time zone. The tutorial has been run many times, by many people, in many time zones, and to the best of my knowledge, this is the first time this problem has been reported. Without more details to describe exactly what you did to generate this problem, I'm not sure what comment we should be adding.

Note: See TracTickets for help on using tickets.
Back to Top