Elffuss BraidHub

kikocis/continue public

Merge pull request #6516 from uinstinct/autocomplete-timestamp

fix: autocomplete dev data timestamp as iso string
Changesetce0f98c4fd60e4c8066e9a2ece05d5eaee90f170267e0b3434752f5c264039ce
AuthorDallin Romney <dallinromney@gmail.com> · 2025-07-09 11:26 -07:00
CommitterGitHub <noreply@github.com> · 2025-07-09 11:26 -07:00
Parentsdf9669a2e8a9, cd811c2631d8

Browse the files at this changeset

3 files changed

modified core/autocomplete/CompletionProvider.ts +1 −1
@@ -254,7 +254,7 @@
254254 completionId: helper.input.completionId,
255255 gitRepo: await this.ide.getRepoName(helper.filepath),
256256 uniqueId: await this.ide.getUniqueId(),
257- timestamp: Date.now(),
257+ timestamp: new Date().toISOString(),
258258 ...helper.options,
259259 };
260260
modified core/autocomplete/util/types.ts +1 −1
@@ -41,5 +41,5 @@
4141 gitRepo?: string;
4242 completionId: string;
4343 uniqueId: string;
44- timestamp: number;
44+ timestamp: string;
4545 }
modified packages/config-yaml/src/schemas/data/autocomplete/index.ts +1 −1
@@ -34,7 +34,7 @@
3434 gitRepo: z.string().optional(),
3535 completionId: z.string(),
3636 uniqueId: z.string(),
37- timestamp: z.number(),
37+ timestamp: z.string(),
3838
3939 // DEPRECATED - no more nested objects after v0.1.0, all flat values
4040 completionOptions: completionOptionsSchema.optional(),