Skip to content

Function: calculateNearestKickDate() ​

calculateNearestKickDate(userData, userGroups): string | null

Defined in: src/utils/group-utils.ts:60

Calculates the date string (YYYY-MM-DD) for the auto-kick deadline. If multiple groups have different thresholds, returns the earliest one.

Parameters ​

userData ​

UserData | null

userGroups ​

Group[]

Returns ​

string | null

Released under the MIT License.