shithub: riscv

Download patch

ref: e9cd41467e5598d5c61bd04bf52d96ccd75472ca
parent: 20d8cd0d63ee265870629243a31a60622ffafd99
author: cinap_lenrek <[email protected]>
date: Tue Sep 1 19:08:58 EDT 2020

upas: appendfolder() don't be picky about the timezone of ctime()

This is temporary fix, we should try to emulate the previous
behaviour where we accept at least our local timezone, and
otherwise ignore the offset.

--- a/sys/src/cmd/upas/common/folder.c
+++ b/sys/src/cmd/upas/common/folder.c
@@ -1,6 +1,6 @@
 #include "common.h"
 
-#define Ctimefmt "WW MMM _D hh:mm:ss ZZZ YYYY"
+#define Ctimefmt "WW MMM _D hh:mm:ss ?Z YYYY"
 
 enum{
 	Mbox	= 1,