rascui / website

A digital homepage of RAS.
https://rascui.tech
5 stars 29 forks source link

[bug]: Update Copyright Section to Dynamically Display Current Year #58

Closed purnasth closed 8 months ago

purnasth commented 8 months ago

Pull Request: JavaScript Update for Copyright Section

Closes issue #51

Description

This pull request addresses Issue #51 - "Update Copyright Section to Dynamically Display Current Year".

Changes Made

Attachments

image

Additional Details

The solution involves using a concise JavaScript snippet to achieve the automatic year update in the copyright section. I look forward to your feedback and suggestions on this enhancement.

vercel[bot] commented 8 months ago

@purnasth is attempting to deploy a commit to the RAS - CUI Lahore Team on Vercel.

A member of the Team first needs to authorize it.

IbraheemHaseeb7 commented 8 months ago

hey @purnasth I really appreciate your effort. I was thinking perhaps using new Date() constructor which returns user computer's date, we can use some API to get accurate date so this is not an issue even if users computer or phone has wrong date. What do you think?

purnasth commented 8 months ago

I wonder if it really matters. Browsers will not function if the computer's date is incorrect anyway. image