shithub: riscv

Download patch

ref: 2af46e406bbd443ae10025777247798a685afc3c
parent: 758067ee56f48e0441941d7b5599b69427bfc3fa
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Aug 12 21:27:17 EDT 2021

date: remove '-m' flag

It's only ever been used by git, and is obsoleted
by 'date -f'. Remove it.

--- a/sys/src/cmd/date.c
+++ b/sys/src/cmd/date.c
@@ -32,7 +32,6 @@
 	case 'u':	uflg = 1;				break;
 	case 't':	fmt = "YYYY-MM-DDThh:mm:ssZZ";		break;
 	case 'i':	fmt = "YYYY-MM-DD";			break;
-	case 'm':	fmt = "WW, DD MMM YYYY hh:mm:ss Z";	break;
 	case 'f':	fmt = EARGF(usage());			break;
 	default:	usage();
 	}ARGEND