get-skole-aar
v2.1.0
Published
Get current, next or previous schoolyear
Downloads
40
Readme
get-skole-aar
Returns school year
Installation
$ npm i get-school-year
Usage
const getSchoolYear = require('get-school-year')
getSchoolYear('2020-08-15') //=> 2020/2021
getSchoolYear('2020-02-01') //=> 2019/2020
getSchoolYear('2019-04-01') //=> 2018/2019