Skip to content

Tankōbon / main/db/export-service / exportFileName

Function: exportFileName() ​

exportFileName(date): string

Defined in: main/db/export-service.ts:60

Default file name offered by the export's save dialog: tankobon-export-YYYY-MM-DD-HHhMM.json, in local time so that it matches the user's clock, with the time so that several exports of the same day don't overwrite one another. No :, which Windows refuses in file names.

Parameters ​

date ​

Date

Returns ​

string