-
Notifications
You must be signed in to change notification settings - Fork 33
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 config question #17
Comments
can you open a python2 session on your terminal, looks like somehow python is not aware of your TZ, and assumes you're in UTC or something |
On the server side the system time is already set at UTC. Appearently it does not do any zone conversion
How do I fix that? How can I let the server side python know that my desktop browser is at Pacific time, or force it to think all data it receives is Pacific time that needs to be converted to UTC, and do it cleanly instead of hard coding in anthracite-web.py#L187? |
you should haven't to hardcode anything in anthracite-web.py |
This is a raw event in ES that was created with Anthracite: {
"_index": "anthracite",
"_type": "event",
"_id": "AUrj3ciFZGZGaKAnf1Gk",
"_score": null,
"_source": {
"date": "2015-01-13T10:15:41",
"desc": "created 01/13/2015 10:15:41 AM",
"tags": [
"anthracite_debug"
]
},
"sort": [
1421144141000,
1421144141000
]
} This is with Anthracite's TZ set to |
Hi,
My server timezone is set at UTC, and my browser is PST. No matter if I set timezone="America/Los_Angeles" or
timezone="Etc/UTC"
in the config.py file, when I tried to add an event via the web interface, it will just add my local PST time to elastic search, unconverted.
Where else shall I look for changes?
Thanks
Weiyi
The text was updated successfully, but these errors were encountered: