Turkish Dotted I problem solved

In "tr-TR" culture, "FRI" day abbr breaks the execution. Because
"Fri".ToUpper() equals "FRİ" in Turkish culture.

I changed ToUpper to ToUpperInvariant. It's working now.