Skip to content

Commit

Permalink
fixup! fixup! Port workerd to Windows using clang
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbbot committed Mar 18, 2023
1 parent 02da32e commit b961323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workerd/io/compatibility-date.c++
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ struct CompatDate {
if ((c < '0' || '9' < c) && c != '-') return nullptr;
}
uint year, month, day;
// TODO(soon): use `kj::parse` here instead or some Windows time parsing API
// TODO(someday): use `kj::parse` here instead
auto result = sscanf(text.cStr(), "%d-%d-%d", &year, &month, &day);
if (result == EOF) return nullptr;
// Basic validation, this has the same limitations as the strptime() solution below, and will
Expand Down

0 comments on commit b961323

Please sign in to comment.