<rdar://problem/4798263> Documentation of launchd.plist does not specify month is 0-11
--- trunk/launchd/src/launchd_core_logic.c 2007-02-23 17:40:11 UTC (rev 23104)
+++ trunk/launchd/src/launchd_core_logic.c 2007-02-23 19:44:35 UTC (rev 23105)
@@ -2660,6 +2660,7 @@
}
if ((tmp_k = launch_data_dict_lookup(obj, LAUNCH_JOBKEY_CAL_MONTH))) {
tmptm.tm_mon = launch_data_get_integer(tmp_k);
+ tmptm.tm_mon -= 1; /* 4798263 cron compatibility */
}
return calendarinterval_new(j, &tmptm);