Elanthian Calendar site on 09/01/2008 10:26 PM CDT
Links-arrows 1
Reply Reply
http://symphaena.com/DRCalendar/DRCalendar.php?cd=1&&cm=2&&cy=1

At the moment, the sum of its usefulness is merely to explain how the Elanthian Calendar works (it doesn't quite match what the text on sites like Olwydd.or or Elanthipedia says, but I'm working on the assumption that that part of the page is wrong/misleading based on a recent discussion on play.net).

What I'd like to do is make it a working calendar that shows you the actual day in Elanthia at the time you visit the site (perhaps also a timed updater like the Refresher here on play.net.) I'd also like to be able to show basic information like moon states and in-game holidays, and way off in the far future I'd like to set this calendar up as an interactive utility for player- and GM-driven events (the Play.net calender, but without the need for a specific somebody to update it, the player/GM could just click on the link and add their event stuff themselves like a wiki or user form).

At the moment, aside from a few minor visual hangups, I'm having trouble with figuring out how to convert dates. Any insights?

DISCLAIMER: THIS POSTER IS NOT A MEMBER OF STAFF AND HIS INFORMATION IS/MIGHT BE WRONG.
Reply Reply
Re: Elanthian Calendar site on 09/13/2008 10:26 PM CDT
Links-arrows 2
Reply Reply
Ran into a few problems with the calendar work, so I decided to take care of the time conversion on the client side using Javascript (probably will convert it to PHP using AJAX, but wanted to get it working without having to update the website every few seconds).

http://symphaena.com/DRCalendar/DRClock.html

For now, it's just the digital time shown but when I figure out how to draw a clockface and hands I plan to add in an analog display as well (the second row of boxes that say "Not done yet!"). I don't know the math behind circles, though.

Points of interest:

1)to my knowledge, the DR server time is set to Eastern Standard Time (-5 GMT). If this is incorrect, I wouldn't mind a mention of what it is.

2)at the moment, the IC hours calculation is all kinds of messed up. I'll probably have to revert to some sort of lookup rather than trying to math my way to a result.

3)I kept minutes on a 60-count scale for testing/compatibility purposes. So far it seems to be stably accurate.

4)seconds aren't even used in DR, so I only show them for formatting purposes. They count by 4s.

DISCLAIMER: THIS POSTER IS NOT A MEMBER OF STAFF AND HIS INFORMATION IS/MIGHT BE WRONG.
Reply Reply
Re: Elanthian Calendar site on 09/14/2008 02:49 AM CDT
Links-arrows 3
Reply Reply
>1)to my knowledge, the DR server time is set to Eastern Standard Time (-5 GMT).

CST, where it's located.

~ Sage Kougen Aensworth, Star Shaper of the Compact

Ruea says in Ilithic, "At least you're very handsome. That makes the fact that you're always right far easier to live with"
Reply Reply
Re: Elanthian Calendar site on 09/14/2008 03:02 AM CDT
Links-arrows 4
Reply Reply
Actually I should clarify that since we're currently in daylight savings, EDT is GMT -5 and CDT is GMT -6, which is where the DR server is and the time it uses.

http://www.worldtimezone.com/

Also, I just watched your clock loop over from 4:59am to 1:00am on the Elanthian clock. Maybe I'm just tired and confused but that doesn't seem right at all.

~ Sage Kougen Aensworth, Star Shaper of the Compact

Ruea says in Ilithic, "At least you're very handsome. That makes the fact that you're always right far easier to live with"
Reply Reply