You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/timezone.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
This guide explains how react-datepicker handles timezones and provides solutions for common timezone-related scenarios.
4
4
5
-
## Using the `timeZone` Prop (Issue #1787)
5
+
## Using the `timeZone` Prop
6
6
7
7
React-datepicker now supports a `timeZone` prop that allows you to display and handle dates in a specific timezone, regardless of the user's local timezone. This feature requires the optional `date-fns-tz` peer dependency.
8
8
@@ -107,7 +107,7 @@ function TokyoCalendar() {
107
107
108
108
---
109
109
110
-
## The "Date is One Day Off" Problem (Issue #1018)
110
+
## The "Date is One Day Off" Problem
111
111
112
112
One of the most commonly reported issues is that the selected date appears to be "one day off" when converted to a string or sent to a server. This is **not a bug** in react-datepicker—it's the expected behavior of JavaScript Date objects.
0 commit comments