Calendar (commandline)

Discussion in 'Misc' started by Michael C., Nov 2, 2011.

  1. Michael C.

    Michael C. Guest

    I'm running multiple systems which includes both Ubuntu and OS X
    10.6.8 and decided I wanted calendar to show up when I start a
    terminal and noticed Thanksgiving was appearing correctly under
    Ubuntu, but not showing up under OS X.

    $ calendar -A 30 -B 30 -f /usr/share/calendar/calendar.usholiday

    Oct 31 All Hallows Eve (Halloween)
    Nov 1* Thanksgiving Day (4th Thursday in November)
    Nov 5* Election Day in USA (1st Tuesday after 1st Monday for even
    years)
    Nov 6* Daylight Savings Time ends in USA; clocks move back (1st
    Sunday of November)
    Nov 11 Veterans' Day

    on my Ubuntu machine:

    $ ssh mike@cerberus \
    calendar -A30 -B30 -f /usr/share/calendar/calendar.usholiday

    Oct 10* Columbus Day in USA (2nd Monday of October)
    Oct 31 All Hallows Eve (Halloween)
    Nov 01* Election Day in USA (1st Tuesday after 1st Monday for
    even years)
    Nov 06* Daylight Savings Time ends in USA; clocks move back
    (1st Sunday of November)
    Nov 11 Veterans' Day
    Nov 24* Thanksgiving Day (4th Thursday in November)

    Is there a problem with matching 11/ThuFourth in OS X?

    The only thing I can think of is it doesn't recognize the date
    format in calendar.usholiday. Is this an OS X bug or is that
    formatting being removed?

    Any suggestions for correcting this greatly appreciated.

    Thanks,

    Michael C.
     
    Michael C., Nov 2, 2011
    #1
    1. Advertisements

  2. These calendar applications/files have serious problems...
    Indeed, the problem you noticed.
    The next year where that day will be Election Day is 2024. The last one
    was 2002.

    [...]
    That will *never* happen, by design.

    _x.
     
    Xavier Llobet, Nov 2, 2011
    #2
    1. Advertisements

  3. These calendar applications/files have serious problems...
    Indeed, the problem you noticed.
    The next year when that day will be Election Day is 2024. The last one
    was 2002.

    [...]
    That will *never* happen, by design.

    _x.
     
    Xavier Llobet, Nov 2, 2011
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.