On Sun, Nov 11, 2018 at 11:03:35PM +0000, Raf Czlonka wrote: > It's that magical time of the year again :^) > > Anyone? > > R. >
morning. i suspect either the intent was to cover all cases, or one was added without the other being removed by mistake. unfortunately calendar doesn;t handle such dates well. firstly, the BUGS entry: maybe we should just say that calendar doesn;t handle all holidays, rather than singling out jewish ones. the solution to your question - someone writes code to handle this, or someone steps up to maintain the file. it won;t be me, i'm afraid. jmc > On Sun, Nov 12, 2017 at 08:11:04AM GMT, Raf Czlonka wrote: > > Hi all, > > > > I've just noticed something strange in the > > /usr/share/calendar/calendar.christian file, namely: > > > > 11/SunLast First Sunday of Advent (4th Sunday before Christmas) > > 12/SunFirst First Sunday of Advent (4th Sunday before Christmas) > > > > Obviously, in any given year either is true - not both. > > > > I do understand the intent - the beginning of Advent will either > > be on the last Sunday of November or the first Sunday of December > > depending which day of the week Christmas Day falls on. > > > > Calculating it isn't difficult - last Thursday of November + 3 days - > > but I'm not sure whether adding any additional code to calendar(1) > > is desirable. > > > > I don't know what the best solution to the above is as currently, > > as it stands, these entries are confusing - at first glance the > > above looks like a bug and after figuring out it isn't one, I'm > > sill none the wise which one it is without consulting another > > calendar. > > > > Adding code, modifying the above entries or an additional entry in > > the BUGS section in the manual. What are your thought? > > > > Best regards, > > > > Raf >