~kota/evids

e641b8f281c35871695e3b61131a648300d2320f — Dakota Walsh 1 year, 5 months ago dc82868
avoid go 1.20 DateTime constant
1 files changed, 5 insertions(+), 1 deletions(-)

M helpers.go
M helpers.go => helpers.go +5 -1
@@ 67,7 67,11 @@ func Released(path string) ([]DirEntry, error) {
		}

		now := time.Now()
		t, err := time.ParseInLocation(time.DateTime, record[0], now.Location())
		t, err := time.ParseInLocation(
			"2006-01-02 15:04:05",
			record[0],
			now.Location(),
		)
		if err != nil {
			return nil, err
		}