@@ -563,7 +563,8 @@ To unambiguously represent a specific instant in time, you may use an
563
563
``` toml
564
564
odt1 = 1979-05-27T07:32:00Z
565
565
odt2 = 1979-05-27T00:32:00-07:00
566
- odt3 = 1979-05-27T00:32:00.999999-07:00
566
+ odt3 = 1979-05-27T00:32:00.5-07:00
567
+ odt4 = 1979-05-27T00:32:00.999999-07:00
567
568
```
568
569
569
570
For the sake of readability, you may replace the T delimiter between date and
@@ -581,10 +582,9 @@ odt5 = 1979-05-27 07:32Z
581
582
odt6 = 1979-05-27 07:32-07:00
582
583
```
583
584
584
- Millisecond precision is required. Further precision of fractional seconds is
585
- implementation-specific. If the value contains greater precision than the
586
- implementation can support, the additional precision must be truncated, not
587
- rounded.
585
+ Implementations are required to support at least millisecond precision.
586
+ Additional digits of precision may be specified, but if they exceed the
587
+ supported precision then the extra digits must be truncated, not rounded.
588
588
589
589
## Local Date-Time
590
590
@@ -596,7 +596,8 @@ implementation-specific.
596
596
597
597
``` toml
598
598
ldt1 = 1979-05-27T07:32:00
599
- ldt2 = 1979-05-27T00:32:00.999999
599
+ ldt2 = 1979-05-27T07:32:00.5
600
+ ldt3 = 1979-05-27T00:32:00.999999
600
601
```
601
602
602
603
Seconds may be omitted, in which case ` :00 ` will be assumed.
@@ -610,6 +611,10 @@ implementation-specific. If the value contains greater precision than the
610
611
implementation can support, the additional precision must be truncated, not
611
612
rounded.
612
613
614
+ Implementations are required to support at least millisecond precision.
615
+ Additional digits of precision may be specified, but if they exceed the
616
+ supported precision then the extra digits must be truncated, not rounded.
617
+
613
618
## Local Date
614
619
615
620
If you include only the date portion of an
@@ -629,7 +634,8 @@ or timezone.
629
634
630
635
``` toml
631
636
lt1 = 07:32:00
632
- lt2 = 00:32:00.999999
637
+ lt2 = 00:32:00.5
638
+ lt3 = 00:32:00.999999
633
639
```
634
640
635
641
Seconds may be omitted, in which case ` :00 ` will be assumed.
@@ -643,6 +649,10 @@ implementation-specific. If the value contains greater precision than the
643
649
implementation can support, the additional precision must be truncated, not
644
650
rounded.
645
651
652
+ Implementations are required to support at least millisecond precision.
653
+ Additional digits of precision may be specified, but if they exceed the
654
+ supported precision then the extra digits must be truncated, not rounded.
655
+
646
656
## Array
647
657
648
658
Arrays are ordered values surrounded by square brackets. Whitespace is ignored.
0 commit comments