From 060925730d080bb4ff1cfe85c2c7bbeb11841708 Mon Sep 17 00:00:00 2001 From: Joel Natividad <1980690+jqnatividad@users.noreply.github.com> Date: Sun, 27 Aug 2023 12:09:14 -0400 Subject: [PATCH] `apply`: improve multi-column datefmt operation by making it case-insensitive [skip ci] --- src/cmd/apply.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/apply.rs b/src/cmd/apply.rs index bfba95127..dc0b6d889 100644 --- a/src/cmd/apply.rs +++ b/src/cmd/apply.rs @@ -174,9 +174,9 @@ Format multiple date columns in file.csv to ISO 8601/RFC 3339 format: $ qsv apply datefmt 'Open Date,Modified Date,Closed Date' file.csv -Format all columns that end with "_date" in file.csv to ISO 8601/RFC 3339 format: +Format all columns that end with "_date" case-insensitve in file.csv to ISO 8601/RFC 3339 format: - $ qsv apply datefmt \_date$\ file.csv + $ qsv apply datefmt '\(?i)_date$\' file.csv Format dates in OpenDate column using '%Y-%m-%d' format: