Skip to content

Commit

Permalink
add: Added Millisecond unit on DateUnit enum.
Browse files Browse the repository at this point in the history
  • Loading branch information
Byloth committed Jul 13, 2024
1 parent 00c1be9 commit dcdab6b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@byloth/core",
"version": "1.5.0",
"version": "1.5.1",
"description": "An unopinionated collection of useful functions and classes that I use widely in all my projects. 🔧",
"keywords": [
"Core",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const VERSION = "1.5.0";
export const VERSION = "1.5.1";

export type { Constructor, Interval, Timeout } from "./core/types.js";

Expand Down
1 change: 1 addition & 0 deletions src/utils/date.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { SmartIterator } from "../models/index.js";

export enum DateUnit
{
Millisecond = 1,
Second = 1000,
Minute = 60 * Second,
Hour = 60 * Minute,
Expand Down

0 comments on commit dcdab6b

Please sign in to comment.