Skip to content

Commit

Permalink
Merge pull request #46 from RenovoSolutions/45-getting-utc-day-uses-t…
Browse files Browse the repository at this point in the history
…he-wrong-method

fix: Getting UTC day used the wrong function
  • Loading branch information
bmiller08 authored Oct 17, 2021
2 parents 557f9f3 + 840459a commit 1ed5b8c
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 1ed5b8c

Please sign in to comment.