]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Changing date output
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 14 Aug 2019 10:02:12 +0000 (12:02 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 14 Aug 2019 10:02:12 +0000 (12:02 +0200)
lib/functions.rc

index 5f05290613ed4eea78cf0239d44c9af7be15155c..ae808a04d913bcfbf82458ccbc0d41e841a5beb4 100644 (file)
@@ -258,7 +258,7 @@ eval_ldap_options() {
 
 #------------------------------------------------------------------------------
 my_date() {
-    date +'%F %T.%N %:::z'
+    date --rfc-3339=seconds
 }
 
 #------------------------------------------------------------------------------