Skip to content

Commit

Permalink
Fix timestamp format
Browse files Browse the repository at this point in the history
  • Loading branch information
zhq745w committed Nov 19, 2024
1 parent 576e844 commit 2f56211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as winston from "winston"

export const logger = winston.createLogger({
format: winston.format.combine(
winston.format.timestamp({ format: "YYYY-MM-DD hh:mm:ss A" }),
winston.format.timestamp({ format: "YYYY-MM-DD HH:mm:ss" }),
winston.format.json()
),
levels: winston.config.syslog.levels,
Expand Down

0 comments on commit 2f56211

Please sign in to comment.