Skip to content

Commit

Permalink
fixed formatting strings for timestampsWithTZ
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniket Singh Rawat committed Nov 26, 2023
1 parent 704c125 commit da2493c
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 da2493c

Please sign in to comment.