Skip to content

Commit

Permalink
#653 Prefix exports with both date and time
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvansson committed Jul 1, 2020
1 parent b7f5865 commit 13d523b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Settings/Export/Export.helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ export async function openboardExportAdapter(boards = [], intl) {

zip.generateAsync(CBOARD_ZIP_OPTIONS).then(content => {
if (content) {
let prefix = moment().format('hh-mm-ss-');
let prefix = moment().format('YYYY-MM-DD_HH-mm-ss-');
if (boards.length === 1) {
prefix = prefix + boards[0].name + ' ';
} else {
Expand Down

0 comments on commit 13d523b

Please sign in to comment.