[Kde-pim] Revising SHIFT TO

Allen Winter winter at kde.org
Sun Jan 3 23:58:33 GMT 2010


On Friday 01 January 2010 11:36:07 am Ian Neal wrote:
>   Hi All,
> Happy New Year.
> At the moment I have a holiday file with the following lines in:
> red "Christmas Day Bank Holiday" weekend on december 25 shift to monday 
> if saturday || sunday
> red "Boxing Day Bank Holiday" weekend on december 26 shift to tuesday if 
> sunday || monday
> red "Boxing Day Bank Holiday" weekend on december 26 shift to monday if 
> saturday
> 
> which does give me Bank Holidays in the right place but also an 
> additional one I don't need.
> 
> Now I'd like to be able to rewrite the last two lines into one, 
> something similar to:
> 
> red "Boxing Day Bank Holiday" weekend on december 26 shift to monday if 
> saturday or to tuesday if sunday || monday
> 
> Last I saw something similar being discussed was 5 or 6 years ago, has 
> anything changed since then?
> 

I know that Reinhold mucked with the yacc/lex parser and managed to
provide support for more than 1 holiday per date.

Other than that, there have been no feature changes to the parser in
a very, very long time.

Sorry.  
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list