projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e94851
)
Short time should only be displayed if it's less than 6 days ago
author
Alexander Ebert
<ebert@woltlab.com>
Tue, 11 Jun 2013 15:12:48 +0000
(17:12 +0200)
committer
Alexander Ebert
<ebert@woltlab.com>
Tue, 11 Jun 2013 15:12:48 +0000
(17:12 +0200)
wcfsetup/install/files/js/WCF.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WCF.js
b/wcfsetup/install/files/js/WCF.js
index 56fe5f9cd3c9a240b106c388fb200a923253488b..25c912838eed583e6940214125cbc5f3f9a5bd18 100755
(executable)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-2817,8
+2817,8
@@
WCF.Date.Time = Class.extend({
var $hours = Math.round((this._timestamp - $timestamp) / 3600);
$element.text(WCF.Language.get('wcf.date.relative.hours', { hours: $hours }));
}
- // timestamp is less than
a week
ago
- else if (this._timestamp < ($timestamp +
6048
00)) {
+ // timestamp is less than
6 days
ago
+ else if (this._timestamp < ($timestamp +
5184
00)) {
var $days = Math.round((this._timestamp - $timestamp) / 86400);
// get day of week