This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Замените на свой API-ключ из личного кабинета (https://dadata.ru/profile/#info) | |
| var API_KEY = "ВАШ_API_КЛЮЧ"; | |
| /*** | |
| /* Не меняйте код ниже этой строчки | |
| ***/ | |
| var FORMATTERS = { | |
| address: formatAddress, | |
| fio: formatFio, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // killerDateTableRu | |
| // функция killerDateTableRu создает таблицу с датами. Дополняет ее различными полезными для Time Intelligence столбцами. | |
| // В случае, если четвертый аргумент принимает Дни 1, то функция добавляет столбец с выходными. | |
| // Оригинальная идея philbritton https://gist.github.com/philbritton/9677152 | |
| // пример: killerDateTableRu(#date(2017, 2, 1), #date(2017, 2, 4), "RU-ru", 1) | |
| // Описание полей результирующей таблицы: | |
| // =================================================== | |
| // Date - дата | |
| // Year - год |
NewerOlder