[Lldb-commits] [lldb] Logging setup for lldb-dap extension (PR #146884)
John Harrison via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 31 09:30:11 PDT 2025
================
@@ -156,24 +157,52 @@ async function getDAPArguments(
.get<string[]>("arguments", []);
}
+/**
+ * Formats the given date as a string in the form "YYYYMMddTHHMMSS".
+ *
+ * @param date The date to format as a string.
+ * @returns The formatted date.
+ */
+function formatDate(date: Date): string {
----------------
ashgti wrote:
Should we use https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString ? Thats similar to this but a standard time format.
https://github.com/llvm/llvm-project/pull/146884
More information about the lldb-commits
mailing list