Update lib.js

startOf( ... , 0) => arr2date( majorArr( date2arr( ... ) , 0 ) )