Closed Bug 1209339 Opened 9 years ago Closed 9 years ago

Change brasstacks timezone to UTC

Categories

(Tree Management Graveyard :: OrangeFactor, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

It is currently using Pacific Time, which is annoying when it comes to cron times, plus gives plenty of footgun opportunities when it comes to timezone conversion bugs. Let's just change it to UTC to match most of the other servers.
Given brasstacks is running RH, it seems I'd need to: 1) Edit /etc/sysconfig/clock and make the contents equal to: ZONE="UTC" UTC=True 2) ln -sf /usr/share/zoneinfo/UTC /etc/localtime 3) confirm using `date` Presuming there are no objections, I'll do this tomorrow :-)
(In reply to Ed Morley [:emorley] from comment #0) > plus gives plenty of footgun opportunities when it comes to timezone conversion bugs. eg for both woo_commenter.py and woo_mailer.py when they calculate date ranges "up until yesterday" - it's actually "yesterday pacific time" which can be quite a while ago, which is a waste given that our data sources are all in UTC.
Blocks: 1208102
Done. [root@brasstacks1.dmz.scl3 ~]# vi /etc/sysconfig/clock [root@brasstacks1.dmz.scl3 ~]# cat /etc/sysconfig/clock ZONE="UTC" UTC=True [root@brasstacks1.dmz.scl3 ~]# ln -sf /usr/share/zoneinfo/UTC /etc/localtime [root@brasstacks1.dmz.scl3 ~]# date Tue Sep 29 10:51:48 UTC 2015 [root@brasstacks1.dmz.scl3 ~]# /etc/init.d/orangefactor stop; /etc/init.d/orangefactor start; /etc/init.d/nginx reload stopping orangefactor [ OK ] starting orangefactorspawn-fcgi: child spawned successfully: PID: 23253 [ OK ] Reloading nginx: [ OK ]
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.