﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
1378	Wrong error handling in _Date_Time_SetLocalTime	MrCreatoR <mscreator@…>	Jpm	"Few functions in «Date.au3» (_SetDate and _SetTime) calls '''_Date_Time_SetLocalTime''', but when used, they causing a fatal error because of wrong returns by '''_Date_Time_SetLocalTime'''.

The function check this:


{{{
If @error Or Not $aResult Then ...
}}}

but $aResult is an array if there is no error, so the function will still return False due to wrong variable's type comparision.
Should be this:


{{{
If @error Or Not $aResult[0] Then ...
}}}

And the last return of that function is also wrong, instead of Return '''$aResult[0]''' it should Return '''$aResult''', because _SetDate and _SetTime are checking array."	Bug	closed	3.3.3.2	AutoIt	3.3.2.0	None	Fixed		
