replaced date() with strftime() for better handling with set_locale()