fixed upper/lower string issue in weekday conversion