i18n: Add local date formats

This patch uses strftime() rather than date() to format dates, and adds the
concept of the system locales to the langs.php file
i18n: Use locale default date/time formats