http://bugs.winehq.org/show_bug.cgi?id=5884
--- Comment #11 from Alex Balut alexandru.balut@gmail.com 2007-11-29 23:28:05 --- Created an attachment (id=9404) --> (http://bugs.winehq.org/attachment.cgi?id=9404) Made minor corrections to the patch and added a test
I made some minor corrections to the 20070702 patch, added some more comments and added a test.
The test checks: - some valid/invalid arguments - some arguments should return the same result - the full weekday names start with the abbreviated form
VarWeekdayName provides values that depend on the locale; the test does not check the returned values to match any (hardcoded) values. We could extend the test to set a specific locale and check that the values match, but I think it's good as it is.