Opened 5 years ago

Closed 5 years ago

#1484801 closed Feature Patches (fixed)

timezone check for DB and web servers on separate hosts

Reported by: alec Owned by:
Priority: 5 Milestone: 0.1.1
Component: Interface Version: git-master
Severity: normal Keywords:
Cc:

Description

Database and web server can be installed on separate hosts, so timezone may be the same but time difference greater than 1 second. Patch attached, but maybe better solution will be to get offset from database (e.g. EXTRACT(TIMEZONE FROM NOW()) on postgresql) and compare with date('Z') result?

Attachments (1)

check.diff (457 bytes) - added by alec 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by alec

comment:1 Changed 5 years ago by seansan

  • Milestone set to 0.1.1

Review in 0.1.1

comment:2 Changed 5 years ago by thomasb

  • Resolution set to fixed
  • Status changed from new to closed

Applied to trunk

Note: See TracTickets for help on using tickets.