You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the events directory, we record the date/times of events in UTC. However, in the templates, we would like to display these in the viewer's timezone.
A straightforward way to do this is to use the JavaScript Date object to parse and render the time like this:
Outside the Outreachy application period, we tend to not assign issues to individuals (due to the effort of unassigning, in case the task is later abandoned). Best is to just comment here, as you did, and make an attempt. If you get stuck, you can open a draft PR and ask for help. ❤️
Outside the Outreachy application period, we tend to not assign issues to individuals (due to the effort of unassigning, in case the task is later abandoned). Best is to just comment here, as you did, and make an attempt. If you get stuck, you can open a draft PR and ask for help. ❤️
@sabine, Thank you for the warm welcome! I'm excited to be part of Outreachy and eager to contribute. I'll follow your suggestion and attempt the task.If I encounter any difficulties, I'll be sure to reach out for assistance. Thanks again! 😊🌟
In the events directory, we record the date/times of events in UTC. However, in the templates, we would like to display these in the viewer's timezone.
A straightforward way to do this is to use the JavaScript
Date
object to parse and render the time like this:https://stackoverflow.com/questions/1837183/displaying-date-time-in-users-timezone-on-client-side
Modify the template
community.eml
such that, when JavaScript is available, the date/time is rendered in the user's timezone.The text was updated successfully, but these errors were encountered: