We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6b9e87 commit 8de2a0dCopy full SHA for 8de2a0d
extension-requests/local-utils.js
@@ -252,6 +252,12 @@ const addSpinner = (container) => {
252
return removeSpinner;
253
};
254
255
+/**
256
+ Generates a formatted date-time string from milliseconds.*
257
+ @param {number} milliseconds - The number of milliseconds since January 1, 1970 00:00:00 UTC.
258
+ @returns {string} The formatted date-time string in the format 'YYYY-MM-DDTHH:mm'.
259
+
260
+*/
261
function dateTimeString(milliseconds) {
262
const date = new Date(milliseconds);
263
return `${date.getFullYear()}-${String(date.getMonth() + 1).padStart(
0 commit comments