File: sun.rem

package info (click to toggle)
remind 06.02.03-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 40,888 kB
  • sloc: ansic: 25,719; sh: 6,377; perl: 3,076; lisp: 432; makefile: 263
file content (12 lines) | stat: -rw-r--r-- 460 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
# Sunrise and sunset
# SPDX-License-Identifier: GPL-2.0-only

# Localize if we can
IF access($SysInclude + "/translations/" + _("LANGID") + "/sun.rem", "r") >= 0
    SYSINCLUDE translations/[_("LANGID")]/sun.rem
ENDIF

IF !$CalMode && !$PsCal
    REM INFO "Url: https://en.wikipedia.org/wiki/Sunrise" NOQUEUE AT [sunrise()] MSG %"%"%(Sunrise) %! %2.
    REM INFO "Url: https://en.wikipedia.org/wiki/Sunset" NOQUEUE AT [sunset()] MSG %"%"%(Sunset) %! %2.
ENDIF