diff --git a/src/lib/clip.js b/src/lib/clip.js index 8b067eb..1f2225c 100644 --- a/src/lib/clip.js +++ b/src/lib/clip.js @@ -17,6 +17,7 @@ export const create = async (testing=false) => { dateFormat: "YYYY-MM-DD", datetimeFormat: "YYYY-MM-DD HH:mm:ss", timeFormat: "HH:mm:ss", + zettelFormat: "YYYYMMDDmmss", } async function getFromStorage(key) { @@ -35,7 +36,7 @@ export const create = async (testing=false) => { let day = moment().format("DD") let month = moment().format("MM") let year = moment().format("YYYY") - let zettel = moment().format("YYYYMMDDHHmmss") + let zettel = moment().format(clippingOptions.zettelFormat) let selection = ''; let link = ''; diff --git a/src/options.html b/src/options.html index f0387b2..52b3575 100644 --- a/src/options.html +++ b/src/options.html @@ -69,6 +69,11 @@
by jplattel