-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add timestamp tooltip #27051
Add timestamp tooltip #27051
Conversation
apps/files/src/views/Sidebar.vue
Outdated
* @returns {string} | ||
*/ | ||
fullTime() { | ||
return OC.Util.formatDate(this.fileInfo.mtime) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should switch to use the @nextcloud/moment package here as the formatDate global has beed deprecated:
OC.Util.formatDate is deprecated and will be removed in Nextcloud 21. See @nextcloud/moment
Line 123 in 3e624dc
console.warn('OC.Util.formatDate is deprecated and will be removed in Nextcloud 21. See @nextcloud/moment') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've made the changes with @nextcloud/moment, what do you think?
031e7b4
to
502a350
Compare
25e0919
to
c09e3fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me :)
Needs an update of the vue components though
c09e3fb
to
f2a61d8
Compare
bump :) just waiting on checks |
f2a61d8
to
b135938
Compare
@Pytal Needs another rebase and update of the bundles |
Signed-off-by: Christopher Ng <chrng8@gmail.com>
b135938
to
c2e4c2a
Compare
Done and ready for launch 🚀 |
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
Closes nextcloud/photos#598
Related PR: nextcloud-libraries/nextcloud-vue#1971