This library provides you a function called toCatalan that transforms a JS Date to catalan hour.
toCatalan(new Date('December 17, 1995 03:24:00')) // falten sis minuts per dos quarts de quatre
import { toCatalan } from 'catalan-hour';
const catalanHour = toCatalan(new Date());