From ac0b063635161d2d2ce626bb16333fb63c6c0d89 Mon Sep 17 00:00:00 2001 From: Christian Siefkes Date: Fri, 8 Nov 2019 12:42:58 +0100 Subject: [PATCH] Fix type list in key/value pairs section The old list only mentions the obsolete Datetime time instead of the 4 date/time types we have today. Backlinks to each type are added as well. This rescues a change from the abandoned PR #663, authored by @eksortso. --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d7205501..63938f43 100644 --- a/README.md +++ b/README.md @@ -123,8 +123,20 @@ on the same line (though some values can be broken over multiple lines). key = "value" ``` -Values must be of the following types: String, Integer, Float, Boolean, -Datetime, Array, or Inline Table. Unspecified values are invalid. +Values must have one of the following types. + +- [String](#user-content-string) +- [Integer](#user-content-integer) +- [Float](#user-content-float) +- [Boolean](#user-content-boolean) +- [Offset Date-Time](#user-content-offset-date-time) +- [Local Date-Time](#user-content-local-date-time) +- [Local Date](#user-content-local-date) +- [Local Time](#user-content-local-time) +- [Array](#user-content-array) +- [Inline Table](#user-content-inline-table) + +Unspecified values are invalid. ```toml key = # INVALID