Document location field in config.js

This commit is contained in:
Richard Zink committed 2026-10-07 14:25:54 +02:00
1 parent 9dd76ebd9e
commit 80d15a6edd
1 file changed
+6
+6
View File
@@ -13,6 +13,12 @@
* window.TRANSLATIONS in i18n.js. English ('en') is the base; * window.TRANSLATIONS in i18n.js. English ('en') is the base;
* if a key is missing in the current language, English is used. * if a key is missing in the current language, English is used.
* *
* location - Geographic coordinates for sun/moon calculations. Used
* by the SunCalc library (SunCalc.getTimes, getMoonTimes,
* getPosition). Object with 'lat' (latitude, -90 to +90)
* and 'lon' (longitude, -180 to +180). Positive lat = north,
* positive lon = east.
*
* timeFormat - Format string for the digital clock, using strict * timeFormat - Format string for the digital clock, using strict
* ISO 8601 tokens (case-sensitive). Any other character is * ISO 8601 tokens (case-sensitive). Any other character is
* treated as a literal (including whitespace). * treated as a literal (including whitespace).