Skip to content

Commit

Permalink
Update HomeVLCascade.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrianbet committed Aug 20, 2024
1 parent f3e16bc commit ab74558
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/views/Home/HomeVLCascade.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@ import * as currentOnArtSelectors from '../../selectors/CT/CurrentOnArt/currentO
import { formatNumber, roundNumber } from '../../utils/utils';
import DataCard from '../Shared/DataCard';
import moment from 'moment';
import { ETL_DAY } from '../../constants';

const HomeVLCascade = () => {
const currentDate = moment();

// Check if the current date is before the 20th of the month
if (currentDate.date() < 21) {
if (currentDate.date() < 19) {
// If true, subtract 2 months
currentDate.subtract(2, 'months');
} else {
Expand Down

0 comments on commit ab74558

Please sign in to comment.