Allow the Note FileName to be configured

This is super ugly, but it solves a real use case, and hopefully I'll
eventually get around to improving the UI of the Settings page.
This commit is contained in:
Vishesh Handa
2019-09-25 15:41:19 +02:00
parent 1f88d4ddef
commit 11a9023e99
5 changed files with 51 additions and 4 deletions

View File

@ -1,5 +1,9 @@
import 'package:intl/intl.dart';
String toIso8601(DateTime dt) {
return DateFormat("yyyy-MM-ddTHH:mm:ss").format(dt);
}
String toIso8601WithTimezone(DateTime dt) {
var result = DateFormat("yyyy-MM-ddTHH:mm:ss").format(dt);