Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timezone support #39

Open
narrowfail opened this issue Jul 23, 2014 · 1 comment
Open

Timezone support #39

narrowfail opened this issue Jul 23, 2014 · 1 comment

Comments

@narrowfail
Copy link

Problem: Dashboard empty and the following start date: Tracking began on Jul 23, 2014 @ 5:49:22 a.m. But I really started doing tracking at 9:49:22 a.m.

I did a bit of code research and found:

Visitor.objects.user_stats(None, None)

/usr/local/lib/python2.7/dist-packages/django/db/models/fields/init.py:848: RuntimeWarning: DateTimeField Visitor.start_time received a naive datetime (2014-07-23 00:00:00) while time zone support is active.
RuntimeWarning)

[]

There is a problem with the TZ support in general.

Thanks!

@narrowfail narrowfail changed the title Timezone support Error Timezone support Jul 23, 2014
@vincentalvo
Copy link

As I understand the comment, this is on purpose in order to have consistent server time rather than client's.

        # Be conservative with the determining time on site since simply
        # increasing the session timeout could greatly skew results. This
        # is the only time we can guarantee.

Am I right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants