Skip to content

Commit 627c2b8

Browse files
author
niallroche
committed
updated logic
Signed-off-by: niallroche <[email protected]>
1 parent bead495 commit 627c2b8

File tree

1 file changed

+1
-1
lines changed
  • server/test/archives/latedeliveryandpenalty-typescript/logic

1 file changed

+1
-1
lines changed

server/test/archives/latedeliveryandpenalty-typescript/logic/logic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class LateDeliveryLogic extends TemplateLogic<ITemplateModel, ILateDeliveryAndPe
4040

4141
/**
4242
* Convert Duration to milliseconds
43-
* Manual conversion without requiring dayjs duration plugin
43+
* Manual conversion without requiring dayjs duration plugin, note that this is simplified and will likely break with daylight savings time changes and leap years
4444
*/
4545
private convertDurationToMilliseconds(duration: IDuration): number {
4646
const amount = duration.amount;

0 commit comments

Comments
 (0)