Skip to content

Conversation

@kaseyvee
Copy link
Collaborator

@kaseyvee kaseyvee commented May 3, 2024

Changes

Screenshots

MessageCanvas

Before

Screenshot 2024-05-03 at 11 09 29 AM

After

Screenshot 2024-05-03 at 11 11 32 AM

Timestamp

Before

Screenshot 2024-05-03 at 11 08 54 AM

After

Screenshot 2024-05-03 at 10 59 41 AM

@kaseyvee kaseyvee marked this pull request as ready for review May 3, 2024 18:17
@kaseyvee
Copy link
Collaborator Author

kaseyvee commented May 3, 2024

@RenataDzotova

Shiti
Shiti previously approved these changes May 3, 2024

if (timeDifferenceInDays > 365) {
options.year = 'numeric'
const dataAndTimeConnector = isDifferentYear ? ' at ' : ', '
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const dataAndTimeConnector = isDifferentYear ? ' at ' : ', '
const dateAndTimeConnector = isDifferentYear ? ' at ' : ', '


const formattedDateTime =
convertedDate.toLocaleDateString(userLocale, dateOptions) +
dataAndTimeConnector +
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
dataAndTimeConnector +
dateAndTimeConnector +

@Shiti Shiti merged commit 0c43c2e into rustic-ai:main May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants