Searched refs:current_dow (Results 1 – 1 of 1) sorted by relevance
156 timelib_sll current_dow, difference; in do_adjust_for_weekday() local158 current_dow = timelib_day_of_week(time->y, time->m, time->d); in do_adjust_for_weekday()162 if (current_dow == 0 && time->relative.weekday != 0) { in do_adjust_for_weekday()168 if (time->relative.weekday == 0 && current_dow != 0) { in do_adjust_for_weekday()172 time->d -= current_dow; in do_adjust_for_weekday()176 difference = time->relative.weekday - current_dow; in do_adjust_for_weekday()183 time->d -= (7 - (abs(time->relative.weekday) - current_dow)); in do_adjust_for_weekday()
Completed in 8 milliseconds