Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenPipe/OpenPipe
/ getPreviousMonthWithYearString
Function
getPreviousMonthWithYearString
app/src/utils/dayjs.ts:31–33 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
29
}
30
31
export
function
getPreviousMonthWithYearString() {
32
return
toUTC(
new
Date()).subtract(1,
"month"
).format(
"MMM YYYY"
);
33
}
Callers
1
createInvoice
Function · 0.90
Calls
1
toUTC
Function · 0.85
Tested by
no test coverage detected