[Remind-Fans] Canadian holidays

Tildar tildar at gmail.com
Thu Aug 18 16:39:43 EDT 2005


you seem to be missing this:
#########################################
# Symbolic constants for month names... #
#########################################

SET Jan 1
SET Feb 2
SET Mar 3
SET Apr 4
SET May 5
SET Jun 6
SET Jul 7
SET Aug 8
SET Sep 9
SET Oct 10
SET Nov 11
SET Dec 12

SET January   1
SET February  2
SET March     3
SET April     4
SET May       5
SET June      6
SET July      7
SET August    8
SET September 9
SET October   10
SET November  11
SET December  12


On 8/17/05, Neil Watson <rf at watson-wilson.ca> wrote:
> Interesting.  Thanks.  Some of your functions don't work for me.  Did I
> miss something?
> 
> rem:
> /home/username/docs/remind/holidays(7): Undefined variable: May
> /home/username/docs/remind/holidays(12): Expecting binary operator
> /home/username/docs/remind/holidays(13): Undefined variable: Oct
> /home/username/docs/remind/holidays(15): Expecting binary operator
> Reminders for Wednesday, 17th August, 2005 (today):
> 
> MGS Upgrade HP4250 firmware
> 
> ~/.reminder
> # set some global variables
> 
> # shade current day
> # RGB where 255 is white
> REM [trigger(realtoday())] SPECIAL SHADE 75 179 61 %
> 
> # Handy constants/function for specifing week of month...
> SET  Week_1              1
> SET  Week_2              8
> SET  Week_3             15
> SET  Week_4             22
> FSET _last(mo)          "1 " + MON((mo%12)+1)+" --7"
> FSET _seclast(mo)       "1 " + MON((mo%12)+1)+" --14"
> FSET _back(days)        TRIGGER(TODAY()-days)
> FSET _trig()            TRIGGER(TRIGDATE())
> 
> # includes for various calendars:
> 
> include /home/username/docs/remind/holidays
> include /home/username/docs/remind/anniversaries
> include /home/username/docs/remind/personal
> include /home/username/docs/remind/professional
> include /home/username/docs/remind/astronomical
> 
> /home/username/docs/remind/holidays
> OMIT     1  Jan         MSG %"New Year's%" Day
> REM      2  Feb         MSG %"Ground Hog Day%"
> REM      14 Feb +14     MSG %"Valentine's%" Day
> REM      17 Mar         MSG %"St. Patrick's%" Day
> REM  Sun 1 Apr  ++2     MSG Daylight Savings Time - %"DST starts%" %b
> REM      1 Apr          MSG %"April Fool's%" Day
> REM  Mon [_seclast(May)]        SCANFROM [_back(7)] SATISFY 1 OMIT [_trig()] MSG %"Victoria Day%"
> REM  Sun May [Week_2]   MSG %"Mother's Day%"
> REM  Sun Jun [Week_3]   MSG %"Father's Day%"
> REM      1  Jul MSG Canada day
> REM      1  Aug         MSG %"Simcoe Day%"
> REM  Mon Sep [Week_1]   SCANFROM [_back(7)] SATISFY 1 OMIT [_trig()] MSG %"Labor Day%"
> REM  Sun [_last(Oct)]   MSG Daylight Savings Time - %"DST over%"
> REM      31 Oct         MSG %"Halloween%"
> REM  Mon Oct [Week_2]   SCANFROM [_back(7)] SATISFY 1 OMIT [_trig()] MSG %"Thanksgiving%" Day
> REM      11 Nov         MSG %"Rememberance Day%"
> OMIT     24 Dec         MSG %"Christmas Eve%"
> OMIT     25 Dec         MSG %"Christmas%" Day
> OMIT     26 Dec         MSG %"Boxing Day%"
> 
> 
> --
> Neil Watson               | Gentoo Linux
> Network Administrator     | Uptime 11 days
> http://watson-wilson.ca   | 2.6.11.4 AMD Athlon(tm) MP 2000+ x 2
> _______________________________________________
> Remind-fans mailing list
> Remind-fans at whatexit.org
> http://whatexit.org/mailman/listinfo/remind-fans
>



More information about the Remind-fans mailing list