Skip to content

ZonedDateTime is not supported for Create Timer #1409

Description

@salaboy

Expected Behavior

I should be able to create a timer for a ZonedDateTime.

Actual Behavior

Behavior not implemented.

Steps to Reproduce the Problem

Create a workflow that use a timer:

ZonedDateTime now = ZonedDateTime.now();
//Let's create a ZonedDateTime 30 seconds in the future
ZonedDateTime inTheFuture = now.plusSeconds(30);
ctx.getLogger().info("Starting the timer at: {}", new Date());
ctx.createTimer(inTheFuture).await();
ctx.getLogger().info("Finishing the timer at: {}", new Date());

Release Note

RELEASE NOTE:

No activity

Activity on this issue will appear here.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    durabletaskwork for dapr/durabletask-javakind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions