2019-03-28 14:36:30 +01:00
|
|
|
import {DateColumnBase} from './DateColumnBase'
|
2019-03-28 12:48:15 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Column showing the objects _updated prettyfied
|
|
|
|
*/
|
2019-03-28 14:36:30 +01:00
|
|
|
export class Updated extends DateColumnBase{
|
2019-03-28 12:48:15 +01:00
|
|
|
constructor() {
|
|
|
|
super('Updated', 'row-updated');
|
|
|
|
this.includedByDefault = false;
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @param {RowObject} rowObject
|
|
|
|
* @returns {DateString}
|
|
|
|
*/
|
|
|
|
getRawCellValue(rowObject) {
|
|
|
|
return rowObject.underlyingObject['_updated'];
|
|
|
|
}
|
|
|
|
}
|