change register deadline
This commit is contained in:
@@ -12,8 +12,6 @@ const RegisterDeadlineMiddleware = ({ children, serverToday }) => {
|
|||||||
const toDate = moment(config.navgan_registration_end_date, "YYYY/MM/DD HH:mm:ss");
|
const toDate = moment(config.navgan_registration_end_date, "YYYY/MM/DD HH:mm:ss");
|
||||||
const today = moment(serverToday);
|
const today = moment(serverToday);
|
||||||
|
|
||||||
console.log(config.navgan_registration_status);
|
|
||||||
|
|
||||||
if (config.navgan_registration_status) {
|
if (config.navgan_registration_status) {
|
||||||
if (today.isBetween(fromDate, toDate, null, "[]")) {
|
if (today.isBetween(fromDate, toDate, null, "[]")) {
|
||||||
return children;
|
return children;
|
||||||
|
|||||||
Reference in New Issue
Block a user