scripts/core/datetime/reldate-directive-complex.ts
Function ReldateComplex
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ReldateComplex() {
var COMPARE_FORMAT = appConfig.model.dateformat;
var DATE_FORMAT = appConfig.view.dateformat || appConfig.model.dateformat;
var TIME_FORMAT = appConfig.view.timeformat || appConfig.model.timeformat;
var DISPLAY_DATE_FORMAT = DATE_FORMAT + ' ' + TIME_FORMAT;