Skip to content

DDDD is usually wrong #157

Closed
Closed

Description

@mgillis
new Date();
Wed Jan 20 2021 20:20:48 GMT-0500 (Eastern Standard Time)

futureDate
Wed Jan 27 2021 00:00:00 GMT-0500 (Eastern Standard Time)

dateFormat(futureDate, "DDDD, mmmm dS");
"Today, January 27th"

otherFutureDate
Tue Jan 26 2021 00:00:00 GMT-0500 (Eastern Standard Time)

dateFormat(otherFutureDate, "DDDD, mmmm dS");
"Yesterday, January 26th"

pastDate
Wed Jan 13 2021 00:00:00 GMT-0500 (Eastern Standard Time)

dateFormat(pastDate, "DDDD, mmmm dS");
"Today, January 13th"

Activity

  1. chase-manning commented on Jan 21, 2021

    @chase-manning
    Collaborator

    @TalhaAwan want to take a look? 😄

  2. TalhaAwan commented on Jan 21, 2021

    @TalhaAwan
    Contributor
  3. chase-manning commented on Jan 21, 2021

    @chase-manning
    Collaborator

    @TalhaAwan Thanks so much!!!! 😄

    @mgillis All looking good now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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