Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

First day of week from HTML5 Intl API

Is there a way to get the first day of the week (Sunday or Monday for most countries) from the HTML5 internationalization API?

The spec can be found here. I would be surprised if it's not somehow disclosed, but I can't seem to find where.

like image 800
David Mulder Avatar asked Dec 18 '14 15:12

David Mulder


1 Answers

Intl doesn't have an API to access this sort of calendar information yet. It's possible it may add support for doing so in the future, but right now you're out of luck.

like image 127
Jeff Walden Avatar answered Oct 20 '22 01:10

Jeff Walden