Signed-off-by: Rye Pasaporte <ryepassport@gmail.com>
This commit is contained in:
Rye Pasaporte
2025-03-21 10:27:07 +01:00
parent 4cbc613848
commit 8a84064b85
@@ -92,7 +92,7 @@ const RenderErrorContext = ({
* Converts input datetime which lacks timezone info into user's local time so that they can
* easily understand the times.
*/
const convertTimeToLocalTimezone = (strDateTime: string | Date) => {
export const convertTimeToLocalTimezone = (strDateTime: string | Date) => {
const dateTime = DateTime.fromISO(strDateTime.toLocaleString(), {
zone: DateTime.local().zoneName,
});