Explorar o código

Retrieve ISO 8601 date via date utility

Ben Ripkens %!s(int64=9) %!d(string=hai) anos
pai
achega
96d7c1752d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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"`