@@ -554,6 +554,14 @@ time with a space character (as permitted by RFC 3339 section 5.6).
554
554
odt4 = 1979-05-27 07:32:00Z
555
555
```
556
556
557
+ One exception to RFC 3339 is permitted: seconds may be omitted, in which case
558
+ ` :00 ` will be assumed. The offset immediately follows the minutes.
559
+
560
+ ``` toml
561
+ odt5 = 1979-05-27 07:32Z
562
+ odt6 = 1979-05-27 07:32-07:00
563
+ ```
564
+
557
565
Millisecond precision is required. Further precision of fractional seconds is
558
566
implementation-specific. If the value contains greater precision than the
559
567
implementation can support, the additional precision must be truncated, not
@@ -573,6 +581,12 @@ ldt1 = 1979-05-27T07:32:00
573
581
ldt2 = 1979-05-27T00:32:00.999999
574
582
```
575
583
584
+ Seconds may be omitted, in which case ` :00 ` will be assumed.
585
+
586
+ ``` toml
587
+ ldt3 = 1979-05-27 T07:32
588
+ ```
589
+
576
590
Millisecond precision is required. Further precision of fractional seconds is
577
591
implementation-specific. If the value contains greater precision than the
578
592
implementation can support, the additional precision must be truncated, not
@@ -602,6 +616,12 @@ lt1 = 07:32:00
602
616
lt2 = 00:32:00.999999
603
617
```
604
618
619
+ Seconds may be omitted, in which case ` :00 ` will be assumed.
620
+
621
+ ``` toml
622
+ lt3 = 0 7:32
623
+ ```
624
+
605
625
Millisecond precision is required. Further precision of fractional seconds is
606
626
implementation-specific. If the value contains greater precision than the
607
627
implementation can support, the additional precision must be truncated, not
0 commit comments