UI: remove initial date from client counts (#27816)

This commit is contained in:
Chelsea Shaw
2024-07-31 12:35:11 -05:00
committed by GitHub
parent 4ccf568480
commit 266ea693cc
17 changed files with 324 additions and 175 deletions

View File

@@ -66,17 +66,6 @@ export const filterVersionHistory = (
return [];
};
export const setStartTimeQuery = (
isEnterprise: boolean,
config: ClientsConfigModel | Record<string, never>
) => {
// CE versions have no license and so the start time defaults to "0001-01-01T00:00:00Z"
if (isEnterprise && _hasConfig(config)) {
return getUnixTime(config.billingStartTimestamp);
}
return null;
};
// METHODS FOR SERIALIZING ACTIVITY RESPONSE
export const formatDateObject = (dateObj: { monthIdx: number; year: number }, isEnd: boolean) => {
const { year, monthIdx } = dateObj;