mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-09 01:56:03 +00:00
i18n
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6818 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
312b6dd254
commit
7e5e9ea60b
5 files changed
+9
-9
No files matched your search
@@ -440,12 +440,11 @@ public class Fingerprint implements ModelObject {
|
||||
* Gets the string that says how long since this build has scheduled.
|
||||
*
|
||||
* @return
|
||||
* string like "3 minutes" "1 day" etc.
|
||||
* string like "3 minutes ago" "1 day ago" etc.
|
||||
*/
|
||||
public String getTimestampString() {
|
||||
long duration = System.currentTimeMillis()-timestamp.getTime();
|
||||
return Util.getTimeSpanString(duration);
|
||||
|
||||
return Util.getPastTimeString(duration);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user