RocketCommunicationsInc / astro-components

Other
24 stars 8 forks source link

fix(clock): julien date is now always 3 digits #187

Closed micahjones13 closed 2 years ago

micahjones13 commented 2 years ago

Updates ${this.dayOfYear} to ${this.dayOfYear.toString().padStart(3, '0')} to ensure that the date is always 3 digits with leading zero's if necessary.

Issue: https://github.com/RocketCommunicationsInc/astro-components/issues/186

micahjones13 commented 2 years ago

@markacianfrani can you merge this? It needs the status checks to pass first but I'm pretty sure they never will since this isn't linked to SB anymore.