Parcourir la source

Retrieve ISO 8601 date via date utility

Ben Ripkens il y a 9 ans
Parent
commit
96d7c1752d
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      pages/common/date.md

+ 2 - 2
pages/common/date.md

@@ -6,6 +6,6 @@
 
 `date +"%c"`
 
-- Display the date using a custom format
+- Display the date in UTC and ISO 8601 format
 
-`date +"%d/%m/%Y %H:%M:%S"`
+`date -u +"%Y-%m-%dT%H:%M:%SZ"`