get_weekday_name ported