Skip to content

feat: add unix timestamp js helpers #6

@andreasfernandes93

Description

@andreasfernandes93

Add auxiliary functions to format Unix timestamps in the main formats used in the frontend, facilitating the manipulation and display of dates and times in web applications.

Some formats that have been used in previous projects using goinifnite/ui:

  • toLocaleDateString("en-CA"); // 'en-CA' format to YYYY-MM-DD
  • toUTCString(); // format to RFC1123 "Mon, 02 Jan 2006 15:04:05 GMT"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions