====== Changelog ====== ~~NOTOC~~ This page keeps a record of updates made to the [[Code|PrayTime code]]. ===== Version 3 ===== === Version 3.1.0 - March 28, 2025 === * Enhance code * Remove praytime global object * Use luxon for handling timezones in examples === Version 3.0.1 - March 25, 2025 === * Update examples === Version 3.0.0 - March 25, 2025 === * Redesign PrayTime class * Add support for Node.js * Include Unix timestamp support * Change license from LGPL v3.0 to MIT ===== Version 2 ===== === Version 2.5 - November 14, 2017 === * Rename eval method to value === Version 2.4 - March 27, 2015 === * Enhance code readability === Version 2.3 - April 17, 2011 === * Midnight calculation fixed for Jafari method === Version 2.2 - March 17, 2011 === * Auto Time Zone and DST detection added === Version 2.1 - November 23, 2010 === * License changed from GPL to LGPL v3.0 * Elevation added to coordinates === Version 2.0 - October 29, 2010 === * Newly designed PrayTimes class * Unified adjusting functions * New Midnight and Imsak times * A new function for time tuning * Optional elevation field for coordinates ===== Version 1 ===== === Version 1.2 - September 18, 2009 === * A new calculation method for Tehran * Fajr angle for Umma al-Qura method changed from 19 to 18.5 * Fixed a bug for locations with timezone=0 === Version 1.1 - August 1, 2007 === * More time formatting functions === Version 1.0 - April 21, 2007 === * New PrayTime class * More precise sun positioning using US Navy algorithm * Adjustments for Higher Latitudes === Version 0.9 - January 31, 2007 === * First release of the library * Added to [[https://addons.mozilla.org/firefox/addon/praytimes/|Pray Times!]] Firefox Add-on