Branch: Tag:

2008-01-27

2008-01-27 09:55:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed some special cases for years when converting to/from weeks.

Rev: lib/modules/Calendar.pmod/YMD.pike:1.27

1746:    mnd=args[9];    wd=1;    wy=y; +  // Adjust according to julian day (typically to +  // correct the year). +  create_julian_day(jd);    nd=CALUNKNOWN;    return;    case "ymd_jd":
2050:    w=args[10];    wd=args[11];    mnd=args[12]; +  // Adjust according to julian day (typically to +  // correct the year in case weeks are involved). +  create_julian_day(jd);    nw=CALUNKNOWN;    return;    case "ymd_yd":