diff --git a/docs/commandref.html b/docs/commandref.html index 3fc1c00eb..1ebc3f5c9 100644 --- a/docs/commandref.html +++ b/docs/commandref.html @@ -11050,7 +11050,7 @@ isday values, which should be in the form of a floating point value). The default value is Frankfurt am Main, Germany.

- The default altitude ($altit in SUNRISE_EL.pm) defines the sunrise/sunset + The default altitude ($defaultaltit in SUNRISE_EL.pm) defines the sunrise/sunset for Civil twilight (i.e. one can no longer read outside without artificial illumination), which differs from sunrise/sunset times found on different websites. See perldoc "DateTime::Event::Sunrise" for alternatives. @@ -11071,11 +11071,31 @@ isday
  • The second and third specify min and max values (format: "HH:MM").
    - isday() can be used in some notify or at commands to check if the sun is up or - down. -

    + down.

    + Optionally, for all functions you can set first argument which defines a horizon value + which then is used instead of the $defaultaltit in SUNRISE_EL.pm.
    + Possible values are: "REAL", "CIVIL", "NAUTIC", "ASTRONOMIC" or a + positive or negative number preceded by "HORIZON"
    + REAL is 0, CIVIL is -6, NATUIC is -12, ASTRONOMIC is -18 degrees above horizon.

    + Example:
    + + Define
    Set