Skip to content

Commit

Permalink
fix: Getting UTC day uses the wrong function
Browse files Browse the repository at this point in the history
Closes #45
  • Loading branch information
bmiller08 committed Oct 17, 2021
1 parent 557f9f3 commit 840459a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export class Certbot extends cdk.Construct {
const future = new Date(date.getTime() + minutesToAdd * 60000);
const minutes = future.getUTCMinutes();
const hours = future.getUTCHours();
const days = future.getUTCDate();
const days = future.getUTCDay();
const months = future.getUTCMonth() + 1;
const dayOfWeek = '?';
const years = future.getUTCFullYear();
Expand Down

0 comments on commit 840459a

Please sign in to comment.