Quantcast
Channel: TrueNAS Community
Viewing all articles
Browse latest Browse all 185907

Date string in automatic snapshot has colon instead of plus

$
0
0
I just noticed that the auto snapshots that are being created on this server have the format
auto-2022-09-09T0000:0200
but the naming schema i provided does not contain a colon.
This is the format string:
%Y-%m-%dT%H%M%z
%z should be replaced with
+0200
as it does when i run
Code:
$ date +%Y-%m-%dT%H%M%z
2022-09-09T1332+0200

anyone know where the colon comes from? i checked strftime(3) but could not find any reason why there should be a colon.

Viewing all articles
Browse latest Browse all 185907

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>