Skip to content

Commit

Permalink
aie
Browse files Browse the repository at this point in the history
  • Loading branch information
slothyace authored Feb 6, 2025
1 parent 52d9e4e commit b3c0d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Actions/timeConversions_MOD.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ module.exports = {
case "custom":
const extractions = {
year: {regex: /(\d+) ?(year|years|yrs|yr|y|yy)/gi, toMilli: 365.25 * 24 * 60 * 60 * 1000},
month: {regex: /(\d+) ?(mo|month|months|mth)/gi, toMilli: 30.44 * 24 * 60 * 60 * 1000},
month: {regex: /(\d+) ?(mo|month|months|mth|mths)/gi, toMilli: 30.44 * 24 * 60 * 60 * 1000},
week: {regex: /(\d+) ?(week|weeks|wk|wks|w)/gi, toMilli: 7 * 24 * 60 * 60 * 1000},
day: {regex: /(\d+) ?(day|days|d|dd)/gi, toMilli: 24 * 60 * 60 * 1000},
hour: {regex: /(\d+) ?(hour|hours|hr|hrs|h|hh)/gi, toMilli: 60 * 60 * 1000},
Expand Down

0 comments on commit b3c0d2a

Please sign in to comment.