Skip to content

Commit

Permalink
fix: Revert change to getting UTC day
Browse files Browse the repository at this point in the history
  • Loading branch information
bmiller08 committed Oct 17, 2021
1 parent 1ed5b8c commit 524965b
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.getUTCDay();
const days = future.getUTCDate();
const months = future.getUTCMonth() + 1;
const dayOfWeek = '?';
const years = future.getUTCFullYear();
Expand Down

0 comments on commit 524965b

Please sign in to comment.