(el, data)
| 51 | } |
| 52 | |
| 53 | buildValueForDisplay (el, data) { |
| 54 | if (/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun)/.test(data)) { |
| 55 | // Handle weird string date formatting by first parsing to date |
| 56 | data = new Date(data) |
| 57 | } |
| 58 | return el.text(moment(data).format('llll')) |
| 59 | } |
| 60 | |
| 61 | buildValueForEditing (valEl) { |
| 62 | return this.buildValueForEditingSimply(valEl, null, 'date') |
nothing calls this directly
no outgoing calls
no test coverage detected