1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
unleash.unleash/frontend/src/utils
Thomas Heartman b0c5baa9d3
chore: format schedule information according to user preferences (#5747)
This pr uses the user's preferred timezone to display the scheduled
times. If the user has no preferences, the default will be used.

With norwegian locale set as preference: 

<img width="1529" alt="image"
src="https://github.com/Unleash/unleash/assets/17786332/0072432c-e470-4edc-91fb-864a86bc8f30">

With nothing set (falls back to my system setting):
<img width="1529" alt="image"
src="https://github.com/Unleash/unleash/assets/17786332/adf3d95f-4015-4302-ac09-e3ba511090db">
2024-01-03 18:18:43 +05:30
..
apiUtils.ts
arraysHaveSameItems.test.ts
arraysHaveSameItems.ts
calculatePercentage.ts
capitalizeFirst.ts
cleanConstraint.test.ts
cleanConstraint.ts
createFeatureStrategy.test.ts
createFeatureStrategy.ts
createLocalStorage.ts
cyclicIterator.test.ts
cyclicIterator.ts
deepOmit.test.ts
deepOmit.ts
env.test.ts
env.ts
formatAccessText.test.ts
formatAccessText.ts
formatConstraintValue.ts
formatDate.ts chore: format schedule information according to user preferences (#5747) 2024-01-03 18:18:43 +05:30
formatPath.test.ts
formatPath.ts
formatUnknownError.test.ts
formatUnknownError.ts
getFeatureMetrics.ts
getFeatureTypeIcons.ts
instanceTrial.test.ts
instanceTrial.ts
nonEmptyArray.ts
objectId.test.ts
objectId.ts
oneOf.ts
operatorsForContext.ts
paginate.test.ts
paginate.ts
parseParameter.test.ts
parseParameter.ts
permissions.ts refactor: favor permission name over id (#5409) 2023-11-27 11:12:09 +00:00
projectFilterGenerator.ts
removeEmptyStringFields.test.ts
removeEmptyStringFields.ts
reorderObject.test.ts feat: keep filter order (#5688) 2023-12-19 15:35:39 +01:00
reorderObject.ts feat: keep filter order (#5688) 2023-12-19 15:35:39 +01:00
routePathHelpers.ts
search.ts
serializeQueryParams.ts feat: add tags filter (#5584) 2023-12-11 14:10:03 +02:00
sortStrategyParameters.test.ts
sortStrategyParameters.ts
sortTypes.test.ts
sortTypes.ts
storage.ts
strategyNames.tsx
testIds.ts feat: keep filters ordered based on user selection (#5609) 2023-12-12 13:01:23 +02:00
testRenderer.tsx Feat/new strategy configuration tests (#5692) 2023-12-20 09:16:45 +01:00
testServer.ts
unknownify.ts
validateParameterValue.test.ts
validateParameterValue.ts
variants.ts
withTableState.test.tsx Feat: row actions (#5635) 2023-12-14 09:04:56 +01:00
withTableState.ts Feat: row actions (#5635) 2023-12-14 09:04:56 +01:00