https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a1518933519846044a4f2…
commit a1518933519846044a4f268337209fef9b8dfee8
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Jul 12 18:03:25 2020 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Wed Aug 19 20:36:10 2020 +0200
[CMD] DATE: The /T option is available only when extensions are enabled.
---
base/shell/cmd/date.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/shell/cmd/date.c b/base/shell/cmd/date.c
index 97cb4221411..0cecf8d9292 100644
--- a/base/shell/cmd/date.c
+++ b/base/shell/cmd/date.c
@@ -196,7 +196,7 @@ INT cmd_date(LPTSTR param)
/* Check for options */
for (i = 0; i < argc; i++)
{
- if (_tcsicmp(arg[i], _T("/t")) == 0)
+ if (bEnableExtensions && (_tcsicmp(arg[i], _T("/T")) == 0))
bPrompt = FALSE;
if ((*arg[i] != _T('/')) && (nDateString == -1))