@voiceflow/common 7.26.0 → 7.26.1

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.
@@ -47,6 +47,9 @@ exports.getTimeDuration = getTimeDuration;
47
47
  const getAbbrevatedFormat = (time) => time
48
48
  .split(' ')
49
49
  .map((str) => {
50
+ if (str.includes('month')) {
51
+ return 'mo';
52
+ }
50
53
  if (str.includes('day')) {
51
54
  return 'd';
52
55
  }
@@ -39,6 +39,9 @@ export const getTimeDuration = (pastTime) => {
39
39
  export const getAbbrevatedFormat = (time) => time
40
40
  .split(' ')
41
41
  .map((str) => {
42
+ if (str.includes('month')) {
43
+ return 'mo';
44
+ }
42
45
  if (str.includes('day')) {
43
46
  return 'd';
44
47
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@voiceflow/common",
3
3
  "description": "Junk drawer of utility functions",
4
- "version": "7.26.0",
4
+ "version": "7.26.1",
5
5
  "author": "Voiceflow",
6
6
  "bugs": {
7
7
  "url": "https://github.com/voiceflow/libs/issues"
@@ -76,5 +76,5 @@
76
76
  "test:single": "NODE_ENV=test ts-mocha --paths --config config/tests/mocharc.yml",
77
77
  "test:unit": "NODE_ENV=test nyc --report-dir=nyc_coverage_unit ts-mocha --paths --config config/tests/mocharc.yml 'tests/**/*.unit.ts'"
78
78
  },
79
- "gitHead": "2fba77e43ad98b87529f9d8d59ea983f60f14a50"
79
+ "gitHead": "d3c1af71d24f5b17dd6d78538b2c92c7fdfc3c43"
80
80
  }