Skip to content

Commit f2ae389

Browse files
committed
added warnings
1 parent b9b75b1 commit f2ae389

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

pages/advanced-algorithms/available-algorithms/date.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ The `timezone` parameter can be specified with the database TZ identifier (text)
6060
name, as listed for
6161
[timezones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
6262

63+
<Callout type="warning">
64+
65+
An incompatibility has been introduced as of `tzdata` version `2024b`.
66+
More info can be found at [Database timezone](/fundamentals/data-types#database-timezone).
67+
68+
</Callout>
69+
6370
{<h4 className="custom-header"> Output: </h4>}
6471

6572
- `formatted: string` ➡ The received time in the specified format.
@@ -107,6 +114,13 @@ The `timezone` parameter can be specified with the database TZ identifier (text)
107114
name, as listed for
108115
[timezones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
109116

117+
<Callout type="warning">
118+
119+
An incompatibility has been introduced as of `tzdata` version `2024b`.
120+
More info can be found at [Database timezone](/fundamentals/data-types#database-timezone).
121+
122+
</Callout>
123+
110124
{<h4 className="custom-header"> Output: </h4>}
111125

112126
- `parsed: int` ➡ The number of time units that have elapsed since the Unix epoch.

pages/fundamentals/data-types.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,14 @@ The timezone can be defined via:
574574

575575
Both methods use IANA timezone descriptors to specify the timezone. See [list of time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
576576

577+
<Callout type="warning">
578+
579+
Starting with `tzdata` version `2024b`, its format has changed and an incompatibility with the current libstdc++ has been introduced.
580+
As a result, using `tzdata` version `2024b` or later will break the timezone feature in Memgraph. This could lead to incorrect handling of timezones and unexpected behavior in your application.
581+
To avoid compatibility issues, please ensure that you are using `tzdata` `v2024a` or earlier with Memgraph until libstdc++ has been updated to support the new format in tzdata.
582+
583+
</Callout>
584+
577585
### ZonedDateTime
578586

579587
You can create a value of the `ZonedDateTime` type from a string or a map by

0 commit comments

Comments
 (0)