Commit Diff


commit - 64a9c8c609e0e3d0c6ab1656d479173a967002f9
commit + f6bb170fc5adc9f1a46efdcca0bc985bc3054382
blob - b6cb190a8df0b29c3bd248effdad4063a5ac1dd0
blob + 8ac07102607ed2530574ff45b083a98d7dad8a57
--- vdcron
+++ vdcron
@@ -176,9 +176,7 @@ while IFS="" read -r line; do
             _refdate=1514761200
             _tmpdate=
             if [ "$_pastfiledate" ]; then
-                if [ "${#_pastfiledate}" -eq 4 ]; then
-                    _tmpdate=$(date +%Y%m%d)$_pastfiledate
-                elif [ "${#_pastfiledate}" -eq 8 ]; then
+                if [ "${#_pastfiledate}" -eq 8 ]; then
                     _tmpdate=$_pastfiledate$(date +%H%M)
                 elif [ "${#_pastfiledate}" -eq 12 ]; then
                     _tmpdate=$_pastfiledate