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 Apr 16, 2018
1 parent 286fbe7 commit cad0e55
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 cad0e55

Please sign in to comment.