@ltht-react/utils
Advanced tools
Comparing version 1.1.62 to 1.1.63
@@ -6,2 +6,10 @@ # Change Log | ||
## 1.1.63 (2022-03-31) | ||
**Note:** Version bump only for package @ltht-react/utils | ||
## 1.1.62 (2022-03-22) | ||
@@ -8,0 +16,0 @@ |
@@ -144,3 +144,3 @@ "use strict"; | ||
}; | ||
expect(patient_1.formatPatientAge(patient, false)).toEqual('5w 1d'); | ||
expect(patient_1.formatPatientAge(patient, false)).toEqual('5w'); | ||
}); | ||
@@ -155,3 +155,3 @@ it('returns formatted age when birth date is specified (under 4 weeks and over 2 days)', function () { | ||
}; | ||
expect(patient_1.formatPatientAge(patient, false)).toEqual('14d'); | ||
expect(patient_1.formatPatientAge(patient, false)).toEqual('13d'); | ||
}); | ||
@@ -166,3 +166,3 @@ it('returns formatted age when birth date is specified (under 4 weeks and over 2 days)', function () { | ||
}; | ||
expect(patient_1.formatPatientAge(patient, false)).toEqual('14d'); | ||
expect(patient_1.formatPatientAge(patient, false)).toEqual('13d'); | ||
}); | ||
@@ -270,3 +270,3 @@ it('returns formatted age when birth date is specified (under 2 days and over 2 hours)', function () { | ||
}; | ||
expect(patient_1.formatPatientAge(patient, true)).toEqual('6w 2d'); | ||
expect(patient_1.formatPatientAge(patient, true)).toEqual('6w 1d'); | ||
}); | ||
@@ -288,3 +288,3 @@ it('returns formatted age when patient is deceased (under 4 weeks and over 2 days)', function () { | ||
}; | ||
expect(patient_1.formatPatientAge(patient, true)).toEqual('17d'); | ||
expect(patient_1.formatPatientAge(patient, true)).toEqual('16d'); | ||
}); | ||
@@ -291,0 +291,0 @@ it('returns formatted age when patient is deceased (under 2 days and over 2 hours)', function () { |
{ | ||
"name": "@ltht-react/utils", | ||
"version": "1.1.62", | ||
"version": "1.1.63", | ||
"description": "> TODO: description", | ||
@@ -25,5 +25,5 @@ "author": "Jonny Smith <jonny.asmith@gmail.com>", | ||
"dependencies": { | ||
"@ltht-react/types": "^1.0.60" | ||
"@ltht-react/types": "^1.0.61" | ||
}, | ||
"gitHead": "83a571d69ec85dcca1a31e5a1e451da0174ed92d" | ||
"gitHead": "f2c644e934869e88ca05a8e46bdbfbfb39da5aa1" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
111645
78
1217
Updated@ltht-react/types@^1.0.61