Browse Source

Retrieve ISO 8601 date via date utility

Ben Ripkens 9 năm trước cách đây
mục cha
commit
96d7c1752d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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"`