Skip to content

Commit

Permalink
Merge pull request #3325 from dikwickley/fix-incorrect-dt-formatting-…
Browse files Browse the repository at this point in the history
…2966

Fixed formatting strings for timestampsWithTZ
  • Loading branch information
pavish committed Nov 27, 2023
2 parents 704c125 + da2493c commit f95e320
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mathesar_ui/src/utils/date-time/DateTimeSpecification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ export default class DateTimeSpecification {
...timestamp,
...combine(timestamp, ['[AD]', '[BC]'], (a, b) => `${a} ${b}`),
];
const timestampWithTZ = combine(date, timeWithTZ, (a, b) => `${a} ${b}`);
const timestampWithTZ = combine(date, timeWithTZ, (a, b) => `${a}T${b}`);
const timestampWithTZFull = [
...timestampWithTZ,
...combine(timestampWithTZ, ['[AD]', '[BC]'], (a, b) => `${a} ${b}`),
...combine(timestampWithTZ, ['[AD]', '[BC]'], (a, b) => `${a}T${b}`),
];

switch (this.type) {
Expand Down

0 comments on commit f95e320

Please sign in to comment.