Business Hour Format

I’m creating a form which allow user to key in multiple days of week with multiple operation hours.

I want the format to save as below, but I found it tedious to reformat for displaying using normal javascript. Look into lodash and found it very handy 🙂

Format to display:

Plunker here

Reference: schema.org

 

dicksonkho

 

Leave a Reply

Your email address will not be published. Required fields are marked *