We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f146e4 commit 6d9069cCopy full SHA for 6d9069c
packages/durabletask-js/src/client/client.ts
@@ -585,8 +585,8 @@ export class TaskHubGrpcClient {
585
return undefined;
586
}
587
588
- const createdAt = createdTimestamp ? new Date(createdTimestamp.toDate()) : new Date(0);
589
- const lastUpdatedAt = lastUpdatedTimestamp ? new Date(lastUpdatedTimestamp.toDate()) : new Date(0);
+ const createdAt = createdTimestamp ? createdTimestamp.toDate() : new Date(0);
+ const lastUpdatedAt = lastUpdatedTimestamp ? lastUpdatedTimestamp.toDate() : new Date(0);
590
591
// Map proto status to our status enum using the existing conversion function
592
const status = fromProtobuf(runtimeStatus);
0 commit comments