Record time received as an isostring (and also shut up some jshint nits) #3

Merged
merged 2 commits into from Sep 13, 2012

Projects

None yet

2 participants

@jrgm
Member
jrgm commented Jul 22, 2012

It would useful in solving issues to record the time received.
Tests pass and local usage as well.

@lloyd lloyd commented on the diff Sep 13, 2012
@@ -76,6 +78,7 @@ describe('web apis', function() {
data.length.should.equal(1);
data = data[0];
data.text.should.equal('hi\n');
+ data.receivedAt.should.match(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/);
@lloyd
lloyd Sep 13, 2012

I love that you took the time to update tests.

@lloyd lloyd merged commit 2f1854c into mozilla:master Sep 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment