WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
66682
garden-o-matic's relative time display should be updated regularly.
https://bugs.webkit.org/show_bug.cgi?id=66682
Summary
garden-o-matic's relative time display should be updated regularly.
Dimitri Glazkov (Google)
Reported
2011-08-22 10:24:28 PDT
garden-o-matic's relative time display should be updated regularly.
Attachments
Patch
(4.92 KB, patch)
2011-08-22 10:25 PDT
,
Dimitri Glazkov (Google)
abarth
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dimitri Glazkov (Google)
Comment 1
2011-08-22 10:25:44 PDT
Created
attachment 104693
[details]
Patch
Adam Barth
Comment 2
2011-08-22 10:45:18 PDT
Comment on
attachment 104693
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=104693&action=review
> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:30 > +var kTimeUpdateFrequencyInMilliseconds = 1000;
Should this be in config ?
> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:183 > + Array.prototype.forEach.call(document.querySelectorAll("time"), function(time) {
Do we want to add a class name here? It seems like we could use other <time> elements that don't derive from ui.Time
Dimitri Glazkov (Google)
Comment 3
2011-08-22 10:58:05 PDT
Comment on
attachment 104693
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=104693&action=review
>> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:30 >> +var kTimeUpdateFrequencyInMilliseconds = 1000; > > Should this be in config ?
Ooh, yes.
>> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:183 >> + Array.prototype.forEach.call(document.querySelectorAll("time"), function(time) { > > Do we want to add a class name here? It seems like we could use other <time> elements that don't derive from ui.Time
That's a neat idea! I'll add "relative" to the instance. Hey, I should even rename this to RelativeTime class.
Dimitri Glazkov (Google)
Comment 4
2011-08-22 11:15:56 PDT
Committed
r93522
: <
http://trac.webkit.org/changeset/93522
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug