Skip to content

Commit

Permalink
Inline variable to end naming debate
Browse files Browse the repository at this point in the history
  • Loading branch information
ashsearle committed Jan 18, 2019
1 parent 657db78 commit e2c82e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/moment/start-end-of.js
Expand Up @@ -4,8 +4,7 @@ import { hooks } from '../utils/hooks';
var MS_PER_SECOND = 1000;
var MS_PER_MINUTE = 60 * MS_PER_SECOND;
var MS_PER_HOUR = 60 * MS_PER_MINUTE;
var MS_PER_DAY = 24 * MS_PER_HOUR;
var MS_PER_400_YEARS = (365 * 400 + 97) * MS_PER_DAY;
var MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;

// actual modulo - handles negative numbers (for dates before 1970):
function mod(dividend, divisor) {
Expand Down

0 comments on commit e2c82e1

Please sign in to comment.