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

Mobile: Show correct time/date (as specified in settings) for note properties (#1749)

This commit is contained in:
Helmut K. C. Tessarek 2019-07-16 10:11:58 -04:00 committed by Laurent Cozic
parent e9c88dfdc4
commit d45d1b4225

View File

@ -613,8 +613,8 @@ class NoteScreenComponent extends BaseScreenComponent {
const output = [];
const createdDateString = time.unixMsToLocalDateTime(note.user_created_time);
const updatedDateString = time.unixMsToLocalDateTime(note.user_updated_time);
const createdDateString = time.formatMsToLocal(note.user_created_time);
const updatedDateString = time.formatMsToLocal(note.user_updated_time);
output.push({ title: _('Created: %s', createdDateString) });
output.push({ title: _('Updated: %s', updatedDateString) });