Increase precision in exported timestamps

This commit is contained in:
Ske 2020-01-17 17:43:06 +01:00
parent 335f6203cc
commit 991c00a4e6

View File

@ -274,7 +274,7 @@ namespace PluralKit
public static class Formats public static class Formats
{ {
public static IPattern<Instant> TimestampExportFormat = InstantPattern.CreateWithInvariantCulture("g"); public static IPattern<Instant> TimestampExportFormat = InstantPattern.ExtendedIso;
public static IPattern<LocalDate> DateExportFormat = LocalDatePattern.CreateWithInvariantCulture("yyyy-MM-dd"); public static IPattern<LocalDate> DateExportFormat = LocalDatePattern.CreateWithInvariantCulture("yyyy-MM-dd");
// We create a composite pattern that only shows the two most significant things // We create a composite pattern that only shows the two most significant things