Skip to content

Commit 6e52f03

Browse files
authored
Update README.md
1 parent dd5b5d3 commit 6e52f03

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@
1212

1313
## Background
1414
[Java Time](https://docs.oracle.com/javase/8/docs/api/java/time/package-summary.html), released in Java 8, was a huge improvement over its [Date](https://docs.oracle.com/javase/8/docs/api/java/sql/Date.html) predecessor.<br><br>
15-
This library empowers Java Time & makes it a lot of **fun**! 😃
15+
This library empowers Java Time & makes it that much more **fun**! 😃
1616

1717
```diff
1818
- val dateTimeFormatter = DateTimeFormatter.ofPattern("yyyyMMdd")
1919
- val date = LocalDate.parse(dateText, dateTimeFormatter)
2020
+ val date = dateText.toLocalDate("yyyyMMdd")
2121

22-
2322
- val dateFormatter = DateTimeFormatter.ofPattern("MM/dd/yyyy")
2423
- print(dateFormatter.format(date))
2524
+ print(date.print("MM/dd/yyyy"))

0 commit comments

Comments
 (0)