get current year (#442)

very high priority update
This commit is contained in:
rushhee 2025-04-06 04:06:30 +10:00 committed by GitHub
parent 50a61db23c
commit 986a19f978
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,6 +11,8 @@
import PromoBanner from './PromoBanner.svelte' import PromoBanner from './PromoBanner.svelte'
import MothershipStatus from './MothershipStatus.svelte' import MothershipStatus from './MothershipStatus.svelte'
const currentYear = new Date().getFullYear();
onMount(() => { onMount(() => {
init() init()
}) })
@ -36,7 +38,7 @@
<a href="/terms">Terms</a> <a href="/terms">Terms</a>
<a href="https://status.pockethost.io/">System Status</a> <a href="https://status.pockethost.io/">System Status</a>
</div> </div>
<div>(c) 2024, PocketHost</div> <div>(c) {currentYear}, PocketHost</div>
<div>Proudly hacking open source in Reno, NV</div> <div>Proudly hacking open source in Reno, NV</div>
</div> </div>
<GdprBanner <GdprBanner