Phase 5 + all remaining
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
const express = require('express');
|
||||
const { DateTime } = require('luxon');
|
||||
import express from 'express';
|
||||
import { DateTime } from 'luxon';
|
||||
import { getDbConnection, getPoolStatus } from '../db/connection.js';
|
||||
|
||||
const router = express.Router();
|
||||
const { getDbConnection, getPoolStatus } = require('../db/connection');
|
||||
|
||||
const TIMEZONE = 'America/New_York';
|
||||
|
||||
@@ -502,4 +502,4 @@ function isCurrentPayPeriod(payPeriod) {
|
||||
return now >= payPeriod.start && now <= payPeriod.end;
|
||||
}
|
||||
|
||||
module.exports = router;
|
||||
export default router;
|
||||
|
||||
Reference in New Issue
Block a user