time attribute
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
903891e3d9
commit
0568d4383a
|
@ -52,5 +52,10 @@ Spec_0_1.prototype.id = function(_id){
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Spec_0_1.prototype.time = function(_time){
|
||||||
|
this.payload['eventTime'] = _time.toISOString();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
module.exports = Spec_0_1;
|
module.exports = Spec_0_1;
|
||||||
|
|
||||||
|
|
|
@ -29,5 +29,10 @@ Spec_0_2.prototype.id = function(_id){
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Spec_0_2.prototype.time = function(_time){
|
||||||
|
this.payload['time'] = _time.toISOString();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
module.exports = Spec_0_2;
|
module.exports = Spec_0_2;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue