//#region extensions/memory-core/src/local-date.ts
/** Returns local date as YYYY-MM-DD. */
function localDateStr(date = /* @__PURE__ */ new Date()) {
	return `${date.getFullYear().toString()}-${(date.getMonth() + 1).toString().padStart(2, "0")}-${date.getDate().toString().padStart(2, "0")}`;
}
//#endregion
export { localDateStr as t };
