From 908c2d44e1fdb2c3039e8505bd0269fedb3f0614 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Wed, 31 Oct 2012 12:06:23 +0000 Subject: [PATCH] vbscript: The first day of the week should default to Sunday, not the system default. --- dlls/vbscript/global.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/vbscript/global.c b/dlls/vbscript/global.c index 900242b156f..420a5a5f7c3 100644 --- a/dlls/vbscript/global.c +++ b/dlls/vbscript/global.c @@ -1426,7 +1426,7 @@ static HRESULT Global_FormatDateTime(vbdisp_t *This, VARIANT *arg, unsigned args static HRESULT Global_WeekdayName(vbdisp_t *This, VARIANT *args, unsigned args_cnt, VARIANT *res) { - int weekday, first_day = 0, abbrev = 0; + int weekday, first_day = 1, abbrev = 0; BSTR ret; HRESULT hres;