Produce date for uploading to geocaching.com using the correct locale

Part of fix for #4416.
Merge branch 'release' into upstream