Updated URL generator

URL was not generated correctly when LC_TYPE was not set to UTF-8. Some
characters were replaced with "?" which in result drop this character
entirely from URL. Also when uppercased character was UTF-8, it was not
lowerred correctly.
Updated date format to be more compliant with strtotime()