Skip to content

Commit 7f73db0

Browse files
move instant parsing in migration guide
1 parent c2017c3 commit 7f73db0

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

docs/StardustDocs/topics/MigrationTo_1_0.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,6 @@ one for the new stdlib `kotlin.time.Instant` and one for the old deprecated `kot
4949
The behavior of old operations remains unchanged: they work with `kotlinx.datetime.Instant` and raise `ERROR` in 1.0.
5050
In version 1.1, they will be returned and will operate on the new stdlib `kotlin.time.Instant`.
5151

52-
In version 1.0, all parsing operations still convert `Instant`
53-
values into the deprecated `kotlinx.datetime.Instant`.
54-
To enable parsing into the new standard library `kotlin.time.Instant`,
55-
set the corresponding parsing option **`ParserOptions.parseExperimentalInstant`**
56-
(that will be default in 1.1).
57-
For example:
58-
59-
```kotlin
60-
DataFrame.readCsv(
61-
...,
62-
parserOptions = ParserOptions(parseExperimentalInstant = true)
63-
)
64-
```
65-
66-
6752
<table>
6853
<tr>
6954
<th>0.15</th>
@@ -99,6 +84,21 @@ DataFrame.readCsv(
9984
</tr>
10085
</table>
10186

87+
88+
In version 1.0, all parsing operations still convert `Instant`
89+
values into the deprecated `kotlinx.datetime.Instant`.
90+
To enable parsing into the new standard library `kotlin.time.Instant`,
91+
set the corresponding parsing option **`ParserOptions.parseExperimentalInstant`**
92+
(that will be default in 1.1).
93+
For example:
94+
95+
```kotlin
96+
DataFrame.readCsv(
97+
...,
98+
parserOptions = ParserOptions(parseExperimentalInstant = true)
99+
)
100+
```
101+
102102
#### Deprecation of `cols()` in Columns Selection DSL
103103

104104
`cols()` overloads without arguments, which select all columns of a DataFrame or

0 commit comments

Comments
 (0)