@byuckchon-frontend/utils 1.4.4 → 1.5.0

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.
@@ -9,6 +9,10 @@ export declare const formatDate: (date: Date | string, pattern?: string) => stri
9
9
  export declare const toISO: (date: Date) => string;
10
10
  /** 날짜 파싱 함수 */
11
11
  export declare const parseDate: (date: string, pattern?: string) => Date;
12
+ /** 특정 시점부터 현재까지 경과한 시간을 분 단위 문자열로 반환하는 함수 */
13
+ export declare const formatMinutesPassedSince: (date: Date | string) => string;
14
+ /** 초 단위 시간을 분:초 형식으로 반환하는 함수 */
15
+ export declare const formatSecondsToMinutesSeconds: (seconds: number) => string;
12
16
  /** 이전 날짜 반환 함수 */
13
17
  export declare const beforeDate: (firstDate: Date, secondDate: Date) => Date;
14
18
  /** 이후 날짜 반환 함수 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byuckchon-frontend/utils",
3
- "version": "1.4.4",
3
+ "version": "1.5.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.js",