?

Log in

No account? Create an account
Ramblings Journals I Read Calendar The Dirt MegaZone's Waste of Time Older Older Newer Newer
Calendar update - MegaZone's Safety Valve — LiveJournal
The Ramblings of a Damaged Mind
zonereyrie
zonereyrie
Calendar update
9 STDOUT || STDIN
Comments
fallenpegasus From: fallenpegasus Date: February 20th, 2004 11:52 pm (UTC) (Direct Link)
I have another suggestion for ljcalendars.

There are many calendar events that are nailed down to the hour and minute. Use the LJ "set time of the post" feature to nail them exactly.

Ferex, do a calendar of Jewish holidays that the entries post at the appropriate computed civil twilight in Jerusalem. Make the calendar events that are keyed of the modern calendar post at 0 GMT. The Aztec calendars based on astronomical noon / midnight at what is now called Mexico city. Assorted transits, full moons, new moons, solsitices and equinoxes post at the computed second of their happening, and so forth.
zonereyrie From: zonereyrie Date: February 21st, 2004 12:07 am (UTC) (Direct Link)
Hmm... I was just looking at DateTime::Calendar::* I'll need to get some tuits together.
zonereyrie From: zonereyrie Date: February 21st, 2004 02:24 am (UTC) (Direct Link)
Here's the code I threw together tonight: http://www.megazone.org/ljcalendars.txt

If anyone wants to add more calendars you can take this and have it post to your LJ for testing (just delete the posts, that's what I've been doing) and toss it back at me. If it needs new modules I may need to get usagijer to help (I don't have root on this box). Right now I have this run from cron at midnight. (I commented out the Chinese becasue a) I'm not sure I have the presentation right anyway and b) it slows the script down quite a lot.)

I may do more myself, but I already have a stack of things I need to catch up on before I put a lot more time into this.
simonb From: simonb Date: February 21st, 2004 02:48 am (UTC) (Direct Link)

Re:

For LJ::Simple just use $lj->SetDate(\%Event,$time_t) when preparing the entry.
9 STDOUT || STDIN