Skip to content

Use current date by default in time component #3510

@kof

Description

@kof

As a user I want to display the current date in the footer for the copyright. There will be other use cases where you want a current date, but I don't know any use case for not having a date.

To avoid hydration errors:

  • render serverside current date but always with 0 seconds, this way we reserver approximately the needed space for the client render, this will also work for most dates that don't display seconds
  • render in effect on the client the current date

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:componentsParametrized code componentscomplexity:lowGood for newcomers, up to a few days of workprio:1The most important thing to work ontype:featFeatures and enhancements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions