mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-15 07:56:11 +08:00
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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user