summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmily Aviva Kapor-Mater <emily@emilyaviva.com>2018-03-19 17:28:06 -0700
committerEmily Aviva Kapor-Mater <emily@emilyaviva.com>2018-03-19 17:33:32 -0700
commit354543c97dbbc7296f68c35db462a9dac30cb9b1 (patch)
tree085f0206d2eff1878f9b50ddd9a02f3d38835075
parent71389bd42374df02504c3eac31491672ce894ab5 (diff)
add clarifying example and text for date/time offsets
-rwxr-xr-xtoml.html.markdown7
1 files changed, 4 insertions, 3 deletions
diff --git a/toml.html.markdown b/toml.html.markdown
index 980563f9..39caaa23 100755
--- a/toml.html.markdown
+++ b/toml.html.markdown
@@ -102,9 +102,10 @@ boolMustBeLowercase = true
# Datetime #
############
-date1 = 1979-05-27T07:32:00Z # follows the RFC 3339 spec
-date2 = 1979-05-27T07:32:00 # without offset
-date3 = 1979-05-27 # without offset nor time
+date1 = 1979-05-27T07:32:00Z # UTC time, following RFC 3339/ISO 8601 spec
+date2 = 1979-05-26T15:32:00+08:00 # with RFC 3339/ISO 8601 offset
+date3 = 1979-05-27T07:32:00 # without offset
+date4 = 1979-05-27 # without offset or time
####################
# COLLECTION TYPES #