@ehfuse/taskbox 0.5.413 → 0.5.415
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +15 -15
- package/dist/index.esm.js.map +4 -4
- package/dist/index.js +15 -15
- package/dist/index.js.map +4 -4
- package/dist/utils/dateRange.d.ts +2 -0
- package/package.json +1 -1
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/** Date 를 "YYYY-MM-DD" 로 만든다. */
|
|
6
6
|
export declare function toYmd(date: Date): string;
|
|
7
|
+
/** 현재 시각을 "YYYY-MM-DD HH:mm" 으로 만든다(진행중 전환 시 시작일시 자동 채움 등). */
|
|
8
|
+
export declare function nowMinuteString(base?: Date): string;
|
|
7
9
|
/** 오늘 기준 N개월 전 날짜를 만든다(없는 날짜는 브라우저가 말일로 보정한다). */
|
|
8
10
|
export declare function monthsAgoDate(months: number, base?: Date): Date;
|
|
9
11
|
/** 기간 필터 기본값이다 — 최근 1개월(보관함이 계속 쌓이므로 전체 대신 최근 구간부터 보여준다). */
|
package/package.json
CHANGED