]> Dogcows Code - chaz/tar/blobdiff - src/tar.c
gnulib: sync from latest gnulib, notably bootstrap and parse-datetime
[chaz/tar] / src / tar.c
index d80a10f03613e46b8c51430b6183ff8ff800cd82..928cfddd44a86220ab444844cac61c10da6495aa 100644 (file)
--- a/src/tar.c
+++ b/src/tar.c
@@ -43,7 +43,7 @@
 #include <closeout.h>
 #include <configmake.h>
 #include <exitfail.h>
-#include <getdate.h>
+#include <parse-datetime.h>
 #include <rmt.h>
 #include <rmt-command.h>
 #include <prepargs.h>
@@ -1023,7 +1023,7 @@ get_date_or_file (struct tar_args *args, const char *option,
     }
   else
     {
-      if (! get_date (ts, str, NULL))
+      if (! parse_datetime (ts, str, NULL))
        {
          WARN ((0, 0, _("Substituting %s for unknown date format %s"),
                 tartime (*ts, false), quote (str)));
This page took 0.023589 seconds and 4 git commands to generate.