How does OSQA handle timezone issues? I'm asking because all times imported in the StackExchange importer is off by 8 hours, which is the time difference between Pacific Time (where my server is) and UTC (the timezone used by data in StackExchange data dumps).

I'm happy to patch this problem myself, but before I hack up importer.py, I was wondering if OSQA has any concept of time zone (e.g. store data in UTC and translate into local time when displaying).

asked 22 Dec '10, 20:29

Justin%20Grant's gravatar image

Justin Grant
1.1k163532
accept rate: 12%

edited 31 Dec '10, 11:33

rickross's gravatar image

rickross ♦♦
12.5k2914972

@Justin, you're pretty good at this, but sometimes just a little bit off. Please make sure your postings have a full, proper question as their title. We're going to become more hardass about this to keep the Q&A nature clear.

(31 Dec '10, 11:32) rickross ♦♦

See in the settings_local.py file, there is a TIME_ZONE setting.

link

answered 23 Dec '10, 21:26

Hernani%20Cerqueira's gravatar image

Hernani Cerq... ♦♦
16.8k65975
accept rate: 52%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×38
×18
×4

Asked: 22 Dec '10, 20:29

Seen: 733 times

Last updated: 31 Dec '10, 11:33

powered by OSQA