Skip to content

Commit 57068b8

Browse files
authored
docs(cron): Add note about luxon timezones (#11451)
1 parent a620440 commit 57068b8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

includes/javascript-crons-upsert.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,13 @@ The amount of time (in minutes) your job is allowed to run before it's considere
149149

150150
The `tz` where your job is running. This is usually your server's timezone, (such as `America/Los_Angeles`). See [list of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). Optional.
151151

152+
<Note>
153+
154+
`node-cron` allows you to pass luxon timezones, but you have to convert them to an IANA timezone when using Sentry (for example, using `DateTime.local().zoneName`).
155+
156+
</Note>
157+
158+
152159
`failureIssueThreshold`:
153160

154161
_requires SDK version `8.7.0` or higher_

0 commit comments

Comments
 (0)