captbaritone / captbaritone/datejs

firstDayOfWeek does not matter

Open
#168 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
I have some problem with Date.js library. I use the russian culture settings.
First day of week is setted by 1. And it means, that my week should be since
Monday till Sunday. Monday should be the return vaue when i call:
Date.getDayNumberFromName('понедельник'); //Monday, it should return
0 and Date.getDayNumberFromName('воскресенье'); //Sunday, it should
return 6

and, of course, it should be actual to all weeks calculations. For example,
today (Sunday, 3 March), this code: Date.monday(), should return 25 February.
But it isn't so.

I've made example on my own host: http://sulla.ru/lab/
```

Original issue reported on code.google.com by `sullaro...@gmail.com` on 3 Mar 2013 at 3:25

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.