Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

#23838: 24-hours time format fixed #10011

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/utils/exportUtils/PlainTextExport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default class PlainTextExporter extends Exporter {
if (this.cancelled) return this.cleanUp();
if (!haveRendererForEvent(event, false)) continue;
const textForEvent = await this.plainTextForEvent(event);
content += textForEvent && `${new Date(event.getTs()).toLocaleString()} - ${textForEvent}\n`;
content += textForEvent && `${new Date(event.getTs()).toLocaleString('en-CA', {hour12: false})} - ${textForEvent}\n`;
}
return content;
}
Expand Down