Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 364 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 364 Bytes

Catalan Hour

Description

This library provides you a function called toCatalan that transforms a JS Date to catalan hour.

Example

toCatalan(new Date('December 17, 1995 03:24:00')) // falten sis minuts per dos quarts de quatre 

Usage

import { toCatalan } from 'catalan-hour';

const catalanHour = toCatalan(new Date());