Skip to content

Commit d0c4f12

Browse files
committed
Added actions
1 parent 4b1d751 commit d0c4f12

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/clickup/actions/create-time-entry/create-time-entry.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ export default {
5555
optional: true,
5656
},
5757
start: {
58-
type: "integer",
58+
type: "string",
5959
label: "Start Time",
6060
description: "Unix timestamp in milliseconds for the Start Time, e.g., `1595282645000`",
6161
},
6262
end: {
63-
type: "integer",
63+
type: "string",
6464
label: "End Time",
6565
description: "Unix timestamp in milliseconds, e.g., `1595283000000`. When there are values for both start and end, duration is ignored",
6666
},
@@ -80,8 +80,8 @@ export default {
8080
data: {
8181
tid: this.taskId,
8282
description: this.description,
83-
start: this.start,
84-
end: this.end,
83+
start: new Date(this.start).getTime(),
84+
end: new Date(this.end).getTime(),
8585
stop: this.end,
8686
},
8787
});

0 commit comments

Comments
 (0)