Skip to content

Commit

Permalink
chore(modifiers): Fix dates modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
angelnext committed Nov 20, 2023
1 parent ba274c7 commit e5f2298
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/modifiers.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function nerdIcons(
export function withDates(self) {
const date = new Date();

self.prefixes.all = `${self.prefixes.all || ""}${
self.prefixes.all = `${
self.noColor ? "" : "\x1b[90m"
}[${date.toLocaleDateString()} ${date.toLocaleTimeString()}]\x1b[0m `;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "rubiks",
"version": "0.7.0",
"version": "0.7.1",
"type": "module",
"description": "Rubiks is a 0 dependency extendable logging library for modern applications.",
"main": "./lib/index.js",
Expand Down

0 comments on commit e5f2298

Please sign in to comment.