mozziemozz / M365CallFlowVisualizer

Reads a config from Microsoft 365 Phone System and renders them visually into a mermaid-js flowchart.
MIT License
87 stars 25 forks source link

Merge common business hours #11

Open sjackson0109 opened 2 years ago

sjackson0109 commented 2 years ago

Could we present this data:

During Business Hours?
Time Zone: GMT Standard Time
Monday Hours: 08:00 - 17:30
Tuesday Hours: 08:00 - 17:30
Wednesday Hours: 08:00 - 17:30
Thursday Hours: 08:00 - 17:30
Friday Hours: 08:00 - 17:30
Saturday Hours: Closed 24 hours
Sunday Hours: Closed 24 hours

like this:

Business Hours:
Monday-Friday: 08:00 - 17:30 (GMT+0)
Saturday/Sunday: Closed
mozziemozz commented 2 years ago

I have to check if I can do something to consolidate it, for all the days for which it's the same hours. Not all companies use the same hours from monday to friday. Since this data is all in the same mermaid node, you can always manually adjust it to your liking after the mermaid diagram has been generated.