Lines Matching refs:value
116 formatDate(value) { argument
119 if (value instanceof Date) {
121 return value.toISOString().substring(0, 10);
125 return format(value, pattern, { timezone });
128 formatTime(value) { argument
131 if (value instanceof Date) {
137 return `${value.toLocaleTimeString('default', timeOptions)} UTC`;
140 const shortTz = this.shortTimeZone(value);
142 return format(value, pattern, { timezone }).replace('GMT', 'UTC');
145 shortTimeZone(value) { argument
146 const longTZ = value