{"repo":"chrisblakley/Daylight-Calendar-ICS","free":true,"listed":false,"github":"https://github.com/chrisblakley/Daylight-Calendar-ICS","clone":"git clone https://github.com/chrisblakley/Daylight-Calendar-ICS.git","description":"Daylight Calendar is a dynamically generated .ics calendar that you can host and subscribe to in Google Calendar, iCal, or other calendar software.","language":"PHP","stars":54,"topics":["calendar","ics","google-calendar","ical","daylight","sunrise","sunset","daylight-savings","daylight-saving-time"],"license":"GPL-2.0","category":"productivity","readme_excerpt":"Daylight Calendar ICS This is a dynamically generated .ics calendar that you can host and subscribe to in Google Calendar, iCal, or other calendar software. Not only will it provide an event each day with the appropriate sunrise and sunset time, it will show the length of the day in hours/minutes as well as in a percent (of 24 hours) and the solar noon for that day. It will also give a percentile compared to the shortest and longest days of the year! Options - Find your geo coordinates - Find your timezone name - Find your GMT offset Instructions - Upload daylight.php and/or sun.php to your server (or skip this step and use the one hosted on gearside.com) - Point your calendar to the file and use query parameters for the options above. - Latitude: lat - Longitude: lng - Timezone (preferred way): timezone - GMT Offset (alternate way): gmt - Year: year - Event types ( sun.php only): - actual - civil - nautical - astronomical - all Use ?debug to directly view the calendar file in a browser with events more easily readable. Be sure not to use ?debug when subscribing to your calendar as it does not declare itself as an .ics file with that parameter present. Examples Basic Most reliable method: https://gearside.com/calendars/daylight.php?lat=43.1234&lng=-76.1234&timezone=America/New York Your mileage may vary if only passing GMT offset: https://gearside.com/calendars/daylight.php?lat=43.1234&lng=-76.1234&gmt=-5 https://gearside.com/calendars/sun.php?lat=43.1234&lng=-76.1234&gmt=-5&","default_branch":null,"files":null,"tree":[],"storefront":"/r/chrisblakley","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chrisblakley/Daylight-Calendar-ICS/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}