(value)
| 932 | |
| 933 | function buildSettingsExportFilename(date = new Date()) { |
| 934 | const pad = (value) => String(value).padStart(2, '0'); |
| 935 | return `${SETTINGS_EXPORT_FILENAME_PREFIX}-${date.getFullYear()}${pad(date.getMonth() + 1)}${pad(date.getDate())}-${pad(date.getHours())}${pad(date.getMinutes())}${pad(date.getSeconds())}.json`; |
| 936 | } |
| 937 |
no outgoing calls
no test coverage detected