Skip to content

Conversation

@gliptak
Copy link

@gliptak gliptak commented Jan 8, 2025

What changed?

Update cron library to support time zones

Why?

#6445

How did you test it?

Potential risks

Release notes

Documentation Changes

Signed-off-by: Gábor Lipták <gliptak@gmail.com>
@gliptak
Copy link
Author

gliptak commented Feb 2, 2025

please approve workflow run

"time"

"github.com/robfig/cron"
"github.com/robfig/cron/v3"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add example test cases in cron_test.go to validate the change?

Let's also test this e2e by running Cadence locally and triggering a cron workflow with custom timezone. Please update PR description with the testing/validation steps.

Copy link
Author

@gliptak gliptak Mar 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at this point this is a version bump. In a followup PR, I will add timezone test case (although at this point I'm not setup to run e2e test locally)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR can wait until the e2e tests are ready to avoid any potential issues if we cut a release.

davidporter-id-au added a commit that referenced this pull request Jul 22, 2025
What changed?

This largely just picks https://github.com/temporalio/temporal/pull/2215/files and is a slightly updated version of #6602. See also discussion #6445, though I'm not updating tzdata for the container in this PR (will follow up if it's needed).
@taylanisikdemir
Copy link
Member

@gliptak This upgrade is done in #7087. Closing this one. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants