dont know what happened
This commit is contained in:
10
shared/models/house.js
Normal file
10
shared/models/house.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import moment from 'moment';
|
||||
|
||||
class House {
|
||||
|
||||
timeToDateString(timestamp){
|
||||
var house = this;
|
||||
return moment.tz(timestamp, house.timezone).format("YYYY-MM-DD");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user