Add changeset

This commit is contained in:
Brenda Sukh
2020-11-13 15:21:24 -05:00
parent b13324a4de
commit 259d848eee
2 changed files with 6 additions and 1 deletions
@@ -0,0 +1,5 @@
---
'@backstage/plugin-cost-insights': patch
---
Fix savings/excess display calculation
+1 -1
View File
@@ -42,7 +42,7 @@ type IntervalFields = {
endDate: string;
};
export function parseIntervals(intervals: string): IntervalFields {
function parseIntervals(intervals: string): IntervalFields {
const match = intervals.match(
/\/(?<duration>P\d+[DM])\/(?<date>\d{4}-\d{2}-\d{2})/,
);