Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Jun 20, 2025

This also removes the dependency on the server provided .live-relative-timestamp handling.

This also removes the dependency on the server provided
`.live-relative-timestamp` handling.

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux requested a review from Antreesy June 20, 2025 09:28
@susnux susnux requested a review from nickvergessen as a code owner June 20, 2025 09:28
Copy link
Collaborator

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

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

Tested, thanks for taking care!

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux
Copy link
Contributor Author

susnux commented Jun 20, 2025

/compile

Signed-off-by: nextcloud-command <[email protected]>
@susnux susnux merged commit da69a1d into master Jun 20, 2025
41 checks passed
@susnux susnux deleted the refactor/nc-date-time branch June 20, 2025 10:23
<div class="notification-heading">
<span class="hidden-visually">{{ absoluteDate }}</span>
<span
<NcDateTime
Copy link
Member

Choose a reason for hiding this comment

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

Similar to https://github.com/nextcloud/announcementcenter/pull/945/files#r2158705117 I'd also here use a bit longer format on the date for human-readability
@Antreesy did you notice the change and think the new format is good/better? Or would you be okay reverting to the previous longer format?

Copy link
Collaborator

@Antreesy Antreesy Jun 20, 2025

Choose a reason for hiding this comment

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

I personally like short version, if it's about 20. Dezember 2020 against 20.12.2020,

But we can pass :format="{ timeStyle: 'short', dateStyle: 'long' }" as in another app, yes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@nickvergessen in that case I would say designers should be asked and we change the default on @nextcloud/vue as this is also the same on files app, logreader etc.
Meaning we should have a consistent design on that.

Copy link
Member

Choose a reason for hiding this comment

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

Not fully sure we will find "one that fits all" that's why there is a full/long/short for the relative thing as well, but yeah I'll try to bring it up with designers.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@nickvergessen but we all use it for the same purpose: alternative hover title when using relative time.
So as we have all the same use case we should also all use the same format for consistency.
I agree your proposal looks better!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants