* The parser understands many formats, but we need one format * @protected
(value: string)
| 807 | * @protected |
| 808 | */ |
| 809 | normalizeValue(value: string) { |
| 810 | if (value === "") { |
| 811 | return value; |
| 812 | } |
| 813 | |
| 814 | return this.getFormat().format(this.getFormat().parse(value, true), true); // it is important to both parse and format the date as UTC |
| 815 | } |
| 816 | |
| 817 | /** |
| 818 | * The parser understands many formats, but we need one format |