Module for displaying daylight time for cam in various timezones

moaxey - May 25, 2009 - 02:47
Project:Webcams
Version:6.x-1.4
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:convert, daylight, time, Timezone, twilight, webcam
Description

When I put my cam up, many people in other timezones wanted to be able to easily find out when my day fell in their time.

I already had some php5 code that starts and stops my camera, so I've adapted that into a drupal 6 module, that can display a block.

It needs more work, and you have to edit the code to put in your timezones.

At the moment you define the list of timezone names, in the php5 date_timezone formats, the first one being the home zone of the cam and it works out the twilight start and end times and displays them in a table.

Perhaps if others find this useful, I might develop it more.

#1

moaxey - May 25, 2009 - 02:48
AttachmentSize
daylight.tar_.gz 1.42 KB
 
 

Drupal is a registered trademark of Dries Buytaert.