Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Кулешова Ирина #24

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Кулешова Ирина #24

wants to merge 4 commits into from

Conversation

trtz
Copy link

@trtz trtz commented Oct 23, 2016

No description provided.

@honest-hrundel
Copy link

🍅 Пройдено тестов 10 из 19

@honest-hrundel honest-hrundel changed the title Ирина Кулешова Кулешова Ирина Oct 27, 2016
@honest-hrundel
Copy link

🍅 Пройдено тестов 13 из 19

@honest-hrundel
Copy link

🍅 Пройдено тестов 13 из 19

@honest-hrundel
Copy link

🍅 Пройдено тестов 11 из 16

Copy link

@mokhov mokhov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍅

if (lastSuccess === null) {
return '';
}
var hours = lastSuccess.hh < 10 ? '0' + lastSuccess.hh.toString() : lastSuccess.hh;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно в отдельную функцию

exports.isStar = false;

var days = {
ПН: 1,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Почему не массивом?

}

function convertToTargetTimeZoneDate(timeStamp) {
var day = Math.floor(Math.floor(timeStamp / 60) / 24);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Здесь можно написать код функции оптимальнее

};
}

function parseTime(strTime) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Здесь очень многое дублируется из parseDate


function correlateWithBank(bankInterval) {
bankTimeZone = parseTime(bankInterval.from).timeZone;
var thursdayTimeStamp = getTimeStamp(4, bankTimeZone, 0);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Почему четверг?

@trtz
Copy link
Author

trtz commented Nov 10, 2016

Зачем проверять код задачи, которая даже не проходит тесты, если сегодня дедлайн по 4-й задаче, которая 4-й день висит непроверенной?

@mokhov
Copy link

mokhov commented Nov 10, 2016

Зачем проверять код задачи, которая даже не проходит тесты, если сегодня дедлайн по 4-й задаче, которая 4-й день висит непроверенной?

Могу не проверять вообще

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants