From 1a4d3bef9a57650ef52be5af134637e2dcb6ab4c Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Sat, 15 Aug 2020 11:28:24 +0200 Subject: [PATCH] Add Zettelkasten filename format as an option Fixes #216 --- lib/settings.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/settings.dart b/lib/settings.dart index eac5c30e..97369eb8 100644 --- a/lib/settings.dart +++ b/lib/settings.dart @@ -299,6 +299,8 @@ class NoteFileNameFormat { static const SimpleDate = NoteFileNameFormat("SimpleDate", "yyyy-mm-dd-hh-mm-ss"); static const UuidV4 = NoteFileNameFormat("uuidv4", "Uuid V4"); + static const Zettelkasten = + NoteFileNameFormat("Zettelkasten", "yyyymmddhhmmss"); static const Default = FromTitle; @@ -309,6 +311,7 @@ class NoteFileNameFormat { Iso8601WithTimeZone, Iso8601WithTimeZoneWithoutColon, UuidV4, + Zettelkasten, ]; static NoteFileNameFormat fromInternalString(String str) {