libarchive: Rename cm_get_date wrapper to cm_parse_date

libarchive 3.8.0 renamed `__archive_get_date` to `archive_parse_date`.
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 1e7c45c..44f87db 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -797,8 +797,8 @@
   cmFastbuildUtilityTargetGenerator.cxx
   cmFastbuildUtilityTargetGenerator.h
 
-  cm_get_date.h
-  cm_get_date.c
+  cm_parse_date.h
+  cm_parse_date.c
   cm_utf8.h
   cm_utf8.c
   cm_codecvt.hxx
diff --git a/Source/cmArchiveWrite.cxx b/Source/cmArchiveWrite.cxx
index 321cddf..3a8c890 100644
--- a/Source/cmArchiveWrite.cxx
+++ b/Source/cmArchiveWrite.cxx
@@ -20,7 +20,7 @@
 #include "cmsys/Encoding.hxx"
 #include "cmsys/FStream.hxx"
 
-#include "cm_get_date.h"
+#include "cm_parse_date.h"
 
 #include "cmLocale.h"
 #include "cmStringAlgorithms.h"
@@ -345,7 +345,7 @@
   if (!this->MTime.empty()) {
     time_t now;
     time(&now);
-    time_t t = cm_get_date(now, this->MTime.c_str());
+    time_t t = cm_parse_date(now, this->MTime.c_str());
     if (t == -1) {
       this->Error = cmStrCat("unable to parse mtime '", this->MTime, '\'');
       return false;
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 29ff305..fa94409 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -38,7 +38,7 @@
 #  include <unistd.h> // IWYU pragma: keep
 #endif
 
-#include "cm_get_date.h"
+#include "cm_parse_date.h"
 
 #include "cmCMakePresetsGraph.h"
 #include "cmCTestBuildAndTest.h"
@@ -214,7 +214,7 @@
   char buf[1024];
   std::snprintf(buf, sizeof(buf), "%d%02d%02d %s", lctime->tm_year + 1900,
                 lctime->tm_mon + 1, lctime->tm_mday, str.c_str());
-  time_t ntime = cm_get_date(tctime, buf);
+  time_t ntime = cm_parse_date(tctime, buf);
   cmCTestLog(this, DEBUG,
              "   Get the nightly start time: " << ntime << std::endl);
   tctime = time(nullptr);
@@ -2742,7 +2742,7 @@
            lctime->tm_mon + 1, lctime->tm_mday, time_str.c_str(),
            tzone_offset);
 
-  time_t stop_time = cm_get_date(current_time, buf);
+  time_t stop_time = cm_parse_date(current_time, buf);
   if (stop_time == -1) {
     this->Impl->StopTime = std::chrono::system_clock::time_point();
     return;
diff --git a/Source/cm_get_date.c b/Source/cm_get_date.c
deleted file mode 100644
index 700b3e3..0000000
--- a/Source/cm_get_date.c
+++ /dev/null
@@ -1,11 +0,0 @@
-/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
-   file LICENSE.rst or https://cmake.org/licensing for details.  */
-#include "cm_get_date.h"
-
-// FIXME: This suppresses use of localtime_r because archive_getdate.c
-// depends the rest of libarchive's checks for that.
-#define CM_GET_DATE
-
-#define __archive_get_date cm_get_date
-
-#include "../Utilities/cmlibarchive/libarchive/archive_getdate.c"
diff --git a/Source/cm_parse_date.c b/Source/cm_parse_date.c
new file mode 100644
index 0000000..daf6677
--- /dev/null
+++ b/Source/cm_parse_date.c
@@ -0,0 +1,11 @@
+/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
+   file LICENSE.rst or https://cmake.org/licensing for details.  */
+#include "cm_parse_date.h"
+
+// FIXME: This suppresses use of localtime_r because archive_parse_date.c
+// depends the rest of libarchive's checks for that.
+#define CM_PARSE_DATE
+
+#define archive_parse_date cm_parse_date
+
+#include "../Utilities/cmlibarchive/libarchive/archive_parse_date.c"
diff --git a/Source/cm_get_date.h b/Source/cm_parse_date.h
similarity index 88%
rename from Source/cm_get_date.h
rename to Source/cm_parse_date.h
index 9984ede..43cfc98 100644
--- a/Source/cm_get_date.h
+++ b/Source/cm_parse_date.h
@@ -9,7 +9,7 @@
 #endif
 
 /** Parse a date/time string.  Treat relative times with respect to 'now'. */
-time_t cm_get_date(time_t now, char const* str);
+time_t cm_parse_date(time_t now, char const* str);
 
 #ifdef __cplusplus
 } /* extern "C" */
diff --git a/Utilities/cmlibarchive/libarchive/archive_parse_date.c b/Utilities/cmlibarchive/libarchive/archive_parse_date.c
index 7c01033..0554078 100644
--- a/Utilities/cmlibarchive/libarchive/archive_parse_date.c
+++ b/Utilities/cmlibarchive/libarchive/archive_parse_date.c
@@ -27,7 +27,7 @@
 **  This code is in the public domain and has no copyright.
 */
 
-#ifndef CM_GET_DATE
+#ifndef CM_PARSE_DATE
 #include "archive_platform.h"
 #endif