You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// GNU applies %+10D to the full composite output with zero padding,
2002
+
// and does not inject a leading sign into the composite string.
2003
+
new_ucmd!()
2004
+
.env("LC_ALL","C")
2005
+
.env("TZ","UTC")
2006
+
.arg("-d")
2007
+
.arg("2024-06-15 03:04:05")
2008
+
.arg("+%+10D")
2009
+
.succeeds()
2010
+
.stdout_is("0006/15/24\n");
2011
+
}
2012
+
2000
2013
#[test]
2001
2014
#[ignore = "https://github.com/uutils/coreutils/issues/11656 — GNU date strips the `O` strftime modifier in C locale (e.g. `%Om` -> `%m`); uutils leaks it as literal `%om`."]
0 commit comments