Skip to content

Commit 92e9e16

Browse files
Fixing typo
Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
1 parent 1f1206c commit 92e9e16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

x-pack/plugins/infra/server/lib/metrics/lib/calculate_bucket_size/unit_to_seconds.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const units: Record<string, number> = {
1717
d: 86400,
1818
w: 86400 * 7,
1919
M: 86400 * 30,
20-
y: 86400 * 356,
20+
y: 86400 * 365,
2121
};
2222

2323
const sortedUnits = sortBy(Object.keys(units), (key) => units[key]);

0 commit comments

Comments
 (0)