File tree Expand file tree Collapse file tree 5 files changed +29
-12
lines changed Expand file tree Collapse file tree 5 files changed +29
-12
lines changed Original file line number Diff line number Diff line change 1
1
The full path from which to load the time zone database. If this option
2
2
is not provided, then MongoDB will use its built-in time zone database.
3
3
4
- The configuration file included with Linux and macOS packages sets the time
5
- zone database path to ``/usr/share/zoneinfo `` by default.
4
+ The configuration file included with Linux and macOS packages sets the
5
+ time zone database path to ``/usr/share/zoneinfo `` by default.
6
6
7
7
The built-in time zone database is a copy of the `Olson/IANA time zone
8
- database <https://www.iana.org/time-zones> `_. It is updated along with MongoDB
9
- releases, but the release cycle of the time zone database differs from the
10
- release cycle of MongoDB. A copy of the most recent release of the time zone
11
- database can be downloaded from
12
- https://downloads.mongodb.org/olson_tz_db/timezonedb-latest.zip.
8
+ database <https://www.iana.org/time-zones> `_. It is updated along with
9
+ MongoDB releases, but the time zone database release cycle
10
+ differs from the MongoDB release cycle. The most recent release of
11
+ the time zone database is available on our `download site
12
+ <https://downloads.mongodb.org/olson_tz_db/timezonedb-latest.zip> `_.
13
+
Original file line number Diff line number Diff line change
1
+ .. warning ::
2
+
3
+ MongoDB uses the third party `timelib
4
+ <https://github.com/derickr/timelib> `_ library to provide accurate
5
+ conversions between timezones. Due to a recent update, ``timelib ``
6
+ could create inaccurate time zone conversions in older versions of
7
+ MongoDB.
8
+
9
+ To explicitly link to the time zone database in versions of MongoDB
10
+ prior to 4.0.25, download the `time zone database
11
+ <https://downloads.mongodb.org/olson_tz_db/timezonedb-latest.zip> `_.
12
+ and use the :option: `timeZoneInfo <mongod --timeZoneInfo> ` parameter.
13
+
Original file line number Diff line number Diff line change @@ -664,7 +664,8 @@ Core Options
664
664
*Type*: string
665
665
666
666
.. include:: /includes/fact-timeZoneInfo.rst
667
-
667
+
668
+ .. include:: /includes/warning-timeZoneInfo.rst
668
669
669
670
670
671
.. _free-monitoring-configuration-options:
Original file line number Diff line number Diff line change @@ -694,9 +694,12 @@ Core Options
694
694
wget https://downloads.mongodb.org/olson_tz_db/timezonedb-latest.zip
695
695
unzip timezonedb-latest.zip
696
696
mongod --timeZoneInfo timezonedb-2017b/
697
+
698
+ .. include:: /includes/warning-timeZoneInfo.rst
699
+
700
+ .. seealso::
697
701
698
- .. seealso:: :setting:`processManagement.timeZoneInfo`.
699
-
702
+ :setting:`processManagement.timeZoneInfo`.
700
703
701
704
702
705
.. option:: --serviceExecutor <string>
Original file line number Diff line number Diff line change @@ -540,7 +540,6 @@ Core Options
540
540
consistent performance and use less resources when there are
541
541
more inactive connections than database requests.
542
542
543
-
544
543
.. option:: --timeZoneInfo <path>
545
544
546
545
.. include:: /includes/fact-timeZoneInfo.rst
@@ -550,8 +549,8 @@ Core Options
550
549
wget https://downloads.mongodb.org/olson_tz_db/timezonedb-latest.zip
551
550
unzip timezonedb-latest.zip
552
551
mongos --timeZoneInfo timezonedb-2017b/
553
-
554
552
553
+ .. include:: /includes/warning-timeZoneInfo.rst
555
554
556
555
Sharded Cluster Options
557
556
~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments