Skip to content

Commit c281e73

Browse files
committed
Merge branch 'master' of https://github.com/kean/NaiveDate
2 parents c6e5599 + 5198f75 commit c281e73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ let dateTime = NaiveDateTime(
7878
Calendar.current.date(from: dateTime)
7979
```
8080

81-
**Important!** The naive types do not perform any validation of the input components (year, hour, etc). This means the datetime may not actually exist in certain areas in the world even though it is valid. For example, when daylight saving changes are applied by a region, the clock typically moves forward or backward by one hour. This means certain datetimes never occur or may occur more than once. If you do need to do any precise manipulations with time use native `Date` and `Calendar` types.
81+
**Important!** The naive types are called this way because they don’t have a time zone associated with them. This means the date may not actually exist in some areas in the world, even though they are “valid. For example, when daylight saving changes are applied the clock typically moves forward or backward by one hour. This means certain dates never occur or may occur more than once. If you need to do any precise manipulations with time, always use native `Date` and `Calendar`.
8282

8383
## Requirements
8484

0 commit comments

Comments
 (0)