Skip to content

Commit

Permalink
alterando countdown
Browse files Browse the repository at this point in the history
  • Loading branch information
tonylincon1 committed Aug 1, 2022
1 parent d6039a9 commit dbec827
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const hoursContainer1 = document.querySelector('#hours1')
const daysContainer1 = document.querySelector('#days1')

const nextYear = new Date().getFullYear()
const newYearTime = new Date(`Jun 20 ${nextYear} 00:00:00`)
const newYearTime = new Date(`Dec 20 ${nextYear} 00:00:00`)
const countdownContainer = document.querySelector('#countdown')
const countdownContainer1 = document.querySelector('#countdown1')

Expand Down
2 changes: 1 addition & 1 deletion js/countdownHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const hoursContainer = document.querySelector('#hours')
const daysContainer = document.querySelector('#days')

const nextYear = new Date().getFullYear()
const newYearTime = new Date(`Jun 20 ${nextYear} 00:00:00`)
const newYearTime = new Date(`Dec 20 ${nextYear} 00:00:00`)
const countdownContainer = document.querySelector('#countdown')

const getTimeUnit = unit => unit < 10 ? '0' + unit : unit
Expand Down
2 changes: 1 addition & 1 deletion js/countdownPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const hoursContainer1 = document.querySelector('#hours1')
const daysContainer1 = document.querySelector('#days1')

const nextYear1 = new Date().getFullYear()
const newYearTime1 = new Date(`Jun 20 ${nextYear} 00:00:00`)
const newYearTime1 = new Date(`Dec 20 ${nextYear} 00:00:00`)
const countdownContainer1 = document.querySelector('#countdown1')

const getTimeUnit1 = unit => unit < 10 ? '0' + unit : unit
Expand Down
Binary file added list commits/list commits.pdf
Binary file not shown.

1 comment on commit dbec827

@vercel
Copy link

@vercel vercel bot commented on dbec827 Aug 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.