get-skole-aar
Returns school year
Installation
$ npm i get-school-year
Usage
const getSchoolYear = require('get-school-year') getSchoolYear('2020-08-15') //=> 2020/2021getSchoolYear('2020-02-01') //=> 2019/2020getSchoolYear('2019-04-01') //=> 2018/2019