dreamatdrew: "Dreamwidth Irish Pub", overprinted on green around a pint glass with Celtic knotwork on it. (Pub)
Drew M.C. ([personal profile] dreamatdrew) wrote in [site community profile] dw_dev2011-11-14 05:12 am
Entry tags:

What time is it again?

So, I finally managed to get an up-to-date copy of DW's source, and went about installing.
And... checkconfig tells me no. "Timezone must be UTC."
This is from http://bugs.dwscoalition.org/show_bug.cgi?id=3785 , which specifically added the check because "[t]he code expects system time to be GMT or really weird things happen".

I do not function on GMT. Therefore, my computer does not function on GMT. Therefore, no DW install for me.

So, I did a LITTLE investigating. Unless I'm completely mistaken, the "gimmie GMT" time functions are already built in to core perl. So, it should be possible to hack out that little requirement. Yes, it'd be a lot of tediousness. But I'm thinking not actually all that hard.

Am I wrong here? Opinions plz?
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)

[staff profile] denise 2011-11-15 02:07 am (UTC)(link)
FYI, that check was put in because if the timezone of the DW user account isn't UTC, bad bad bad things happen. The code expects UTC, so we figured it'd be better to make the expectation clear so nothing went fwoom later.
alierak: (Default)

[personal profile] alierak 2011-11-15 03:00 am (UTC)(link)
Yeah, but I think the question was more along the lines of what part of the code goes fwoom and can we fix it. I don't think anyone's attempted to answer that yet.
exor674: Computer Science is my girlfriend (Default)

[personal profile] exor674 2011-11-15 02:09 pm (UTC)(link)
We should. It's just that we've made the assumption in so many places, adding the check now was easier then fixing all the places. That should totally be a long-term project.
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2011-11-16 04:22 am (UTC)(link)
Filed!
Edited 2011-11-16 04:23 (UTC)
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)

[personal profile] pauamma 2011-11-18 05:06 pm (UTC)(link)
I'm pretty sure that S2 is (or maybe was) one of the things that can't deal. (Remember that LJ server that was on Pacific time?)
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)

[staff profile] denise 2011-11-18 05:07 pm (UTC)(link)
oh god. *whimper* yes.