1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +02:00

Desktop: Fixed incorect location format (#2480)

This commit is contained in:
Anjula Karunarathne 2020-02-11 15:19:48 +05:30 committed by GitHub
parent 8053e11b9a
commit d278809659
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -292,7 +292,7 @@ class NotePropertiesDialog extends React.Component {
if (key === 'location') {
try {
const dms = formatcoords(value);
displayedValue = dms.format('DDMMss', { decimalPlaces: 0 });
displayedValue = dms.format('DD MM ss X', { latLonSeparator: ', ', decimalPlaces: 2 });
} catch (error) {
displayedValue = '';
}