Skip to content
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

formatTimeSpan usability problem - enhancement #19887

Closed
ferdiga opened this issue Oct 20, 2015 · 2 comments
Closed

formatTimeSpan usability problem - enhancement #19887

ferdiga opened this issue Oct 20, 2015 · 2 comments

Comments

@ferdiga
Copy link

ferdiga commented Oct 20, 2015

on 8.0.3 web client
the date format is "2 hours ago" or 2 days ago

is it possible to change this to a usaual (linux) date time format as used in most file managers
yyyy-mm-dd HH24:mi:ss

I found this files using formatTimeSpan
./lib/private/datetimeformatter.php:196: public function formatTimeSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {
./lib/private/template/functions.php:217: return $formatter->formatTimeSpan($timestamp, $fromTime);
./lib/public/idatetimeformatter.php:95: public function formatTimeSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null);

IMO this should be configurable on a per user base

@MorrisJobke
Copy link
Contributor

cc @owncloud/designers

@jancborchardt
Copy link
Member

@ferdiga the normal date is easily visible on hovering the relative date (that should work on any relative date in ownCloud).
The relative date is used because that makes it much easier to know the age of the file. Otherwise you always have to make calculations in your head.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants