Skip to content

Commit

Permalink
Monthly history instead of yearly history
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilshakohi committed Dec 29, 2023
1 parent 372fa93 commit e36dd52
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .firebase/hosting.YnVpbGQ.cache
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ logo192.png,499162500000,3ee59515172ee198f3be375979df15ac5345183e656720a381b8872
logo512.png,499162500000,ee7e2f3fdb8209c4b6fd7bef6ba50d1b9dba30a25bb5c3126df057e1cb6f5331
manifest.json,499162500000,aff3449bdc238776f5d6d967f19ec491b36aed5fb7f23ccff6500736fd58494a
robots.txt,499162500000,bfe106a3fb878dc83461c86818bf74fc1bdc7f28538ba613cd3e775516ce8b49
asset-manifest.json,1693403890620,f93adec1ee07e094cbf92d6f96c54532a89f49bd4bf0bc1e794cbb7bbed916d7
index.html,1693403890620,ffeccca2f7d98cb222af994949229c1ae2f741e6afc612498273661863f49a1e
static/css/main.764fa95a.css,1693403890651,c41abdc4ecad5b94824a47628f2f8503eee821459a1b7e7e17cb6a7cd7cd4800
static/js/main.0525ee3a.js.LICENSE.txt,1693403890651,19d1831a8bd9ade0a950fa7232994b63b78fe65d133fea1b6cb391e8febbff3e
static/css/main.764fa95a.css.map,1693403890651,02341d56426d56f5a018a15937a6c474828bf66ff1bf7b95337908a2c3a20bda
static/js/main.0525ee3a.js,1693403890651,f30dc0efc2e7a49977957b6e328761064c77719c4e487021d762de08f71b86fb
static/js/main.0525ee3a.js.map,1693403890651,2fb87f8686aa6dad885bb4213d576c756fef057d589bc6e33d5bfab487625663
asset-manifest.json,1703881594866,04ede845eb8c3f5bda000679b4e93918709905c0d90b324083012b78b8861364
static/css/main.764fa95a.css.map,1703881594881,02341d56426d56f5a018a15937a6c474828bf66ff1bf7b95337908a2c3a20bda
index.html,1703881594866,05a9893d12e180014ded50cc507e82253ec0134ae10831b0d4413e755869b874
static/css/main.764fa95a.css,1703881594881,c41abdc4ecad5b94824a47628f2f8503eee821459a1b7e7e17cb6a7cd7cd4800
static/js/main.b7cd6a7d.js.LICENSE.txt,1703881594881,19d1831a8bd9ade0a950fa7232994b63b78fe65d133fea1b6cb391e8febbff3e
static/js/main.b7cd6a7d.js,1703881594881,5387854f8da2c34a5ec44fd3e6182bd5d27b0ed3fadddbef682787f51ed81614
static/js/main.b7cd6a7d.js.map,1703881594897,3b60b30bd5f61cd7ad38292859cf76b33a4648185f7545640569d96425805251
2 changes: 1 addition & 1 deletion src/components/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const Home = () => {
const dateParams = new Date().toISOString().split("T")[0].split("-");
const itemParams = a.contentDate.split("-");
// Return true if same day, month and not including current year
return dateParams[1] === itemParams[1] && dateParams[2] === itemParams[2] && dateParams[0] !== itemParams[0]
return dateParams[2] === itemParams[2]
})
setHistoryArray(pastContents);
return () => {
Expand Down

0 comments on commit e36dd52

Please sign in to comment.