Added timeZone to v2, bugfix availabilityAsString (#4210)
Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
1 parent
3a35eb413f
commit
dd9d7ab485
8 files changed
+63
-26
No files matched your search
@@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @deprecated modifications to this file should be v2 only
|
||||
* Use `/packages/ui/modules/availability/ScheduleListItem.tsx` instead
|
||||
*/
|
||||
import Link from "next/link";
|
||||
import { Fragment } from "react";
|
||||
|
||||
@@ -37,7 +41,7 @@ export function ScheduleListItem({
|
||||
<p className="mt-1 text-xs text-neutral-500">
|
||||
{schedule.availability.map((availability: Availability) => (
|
||||
<Fragment key={availability.id}>
|
||||
{availabilityAsString(availability, i18n.language)}
|
||||
{availabilityAsString(availability, { locale: i18n.language })}
|
||||
<br />
|
||||
</Fragment>
|
||||
))}
|
||||
|
||||
Reference in new issue
Block a user