// A Weekday specifies a day of the week (Sunday = 0, ...).type Weekday intconst (Sunday Weekday = iotaMondayTuesdayWednesdayThursdayFridaySaturday)
Sunday is declared as first day of week which is not accoding to the ISO 8601 standard that places monday as the first day of week.A modification would also make some conversion code in time.ISOWeek() obsolete.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Historically it should make sense that Monday is the first day what with the seventh day being the day of rest... Just saying ;-)
Historically it should make sense that Monday is the first day what with the seventh day being the day of rest... Just saying ;-)
On 5 Sep 2013 20:03, "Konstantin Khomoutov" <flat...@users.sourceforge.net> wrote:
> Honestly, I have always thought only USA
> had Sunday as the first day of week (as well as being a holdout of
> imperial measures as opposed to SI ones).
Some countries start their week on Sunday (weekend is Friday/Saturday), while others start on Saturday! (weekend is Thursday/Friday). I have personally lived in two such countries.
In Russia (where I live), Monday is also the first day of week for as
long as I can remember. I mean, I do not think I ever managed to came
across any document which stated there were times when we had Sunday
the first day of our weeks.
--
That's, OK.