Searched refs:current_dow (Results 1 – 1 of 1) sorted by relevance
151 timelib_sll current_dow, difference; in do_adjust_for_weekday() local153 current_dow = timelib_day_of_week(time->y, time->m, time->d); in do_adjust_for_weekday()157 if (current_dow == 0 && time->relative.weekday != 0) { in do_adjust_for_weekday()163 if (time->relative.weekday == 0 && current_dow != 0) { in do_adjust_for_weekday()167 time->d -= current_dow; in do_adjust_for_weekday()171 difference = time->relative.weekday - current_dow; in do_adjust_for_weekday()178 time->d -= (7 - (abs(time->relative.weekday) - current_dow)); in do_adjust_for_weekday()
Completed in 5 milliseconds