environment: Reimplement Date.toLocaleFormat() override
Now that we no longer go through GTimeVal to convert from Date to GDateTime, there is no more reason for using a C helper function.
Now that we no longer go through GTimeVal to convert from Date to GDateTime, there is no more reason for using a C helper function.