[Git][wine/wine][master] vbscript: Implement DatePart built-in function.
Alexandre Julliard pushed to branch master at wine / wine Commits: 88e1c039 by Francis De Brabandere at 2026-04-24T18:00:34+02:00 vbscript: Implement DatePart built-in function. Implement DatePart(interval, date [, firstdayofweek [, firstweekofyear]]) with support for all interval types: yyyy, q, m, y, d, w, ww, h, n, s. The week-of-year ("ww") calculation handles all three firstweekofyear modes (vbFirstJan1, vbFirstFourDays, vbFirstFullWeek) including the edge case where dates before week 1 belong to the last week of the previous year. Uses VarUdateFromDate for day-of-year information. - - - - - 2 changed files: - dlls/vbscript/global.c - dlls/vbscript/tests/api.vbs View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/88e1c0393df2cb51ca0f12c30cc2625... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/88e1c0393df2cb51ca0f12c30cc2625... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help
participants (1)
-
Alexandre Julliard (@julliard)