Skip to content

Commit 8a26625

Browse files
committed
Typo
1 parent d932668 commit 8a26625

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/sync-rules/src/quirks.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ export class Quirk {
2020
this.fixedIn = fixedIn;
2121
}
2222

23-
static nonIso8601Timestampts = new Quirk(
23+
static nonIso8601Timestamps = new Quirk(
2424
'non_iso8601_timestamps',
2525
'Old versions of the sync service used to encode timestamps as `YYYY-MM-DD hh:mm:ss.sss`. With this quirk fixed, `YYYY-MM-DDThh:mm:ss.sssZ` is used instead.',
2626
CompatibilityLevel.SYNC_STREAMS
2727
);
2828

2929
static byName: Record<string, Quirk> = (() => {
3030
const byName: Record<string, Quirk> = {};
31-
for (const entry of [this.nonIso8601Timestampts]) {
31+
for (const entry of [this.nonIso8601Timestamps]) {
3232
byName[entry.name] = entry;
3333
}
3434

packages/sync-rules/src/types/time.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class DateTimeValue extends CustomSqliteValue {
3030
}
3131

3232
toSqliteValue(context: CompatibilityContext) {
33-
return context.isFixed(Quirk.nonIso8601Timestampts) ? this.iso8601Representation : this.legacyRepresentation;
33+
return context.isFixed(Quirk.nonIso8601Timestamps) ? this.iso8601Representation : this.legacyRepresentation;
3434
}
3535
}
3636

@@ -59,7 +59,7 @@ export class TimeValue extends CustomSqliteValue {
5959
}
6060

6161
toSqliteValue(context: CompatibilityContext): SqliteValue {
62-
if (context.isFixed(Quirk.nonIso8601Timestampts)) {
62+
if (context.isFixed(Quirk.nonIso8601Timestamps)) {
6363
const fraction = this.fraction?.padEnd(7, '0') ?? '.000000';
6464
return `${this.timeSeconds}${fraction}`;
6565
} else {

0 commit comments

Comments
 (0)