Skip to content

Commit

Permalink
Fix copyright time
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 committed Jun 17, 2024
1 parent 0f23893 commit 06b1f9a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/PageFooter/PageFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class PageFooter extends Component {
return (
<div className={`${styles.navFooter} ${className}`} style={style}>
<div className={`${styles.recordPC}`}>
<div className={styles.recordText}>{t('footer:record_1', {year: 2022})}</div>
<div className={styles.recordText}>{t('footer:record_1', {year: new Date().getFullYear()})}</div>
<div className={`${styles.social}`}>
<a href="https://github.com/itering" target="_blank" rel="noopener noreferrer">
<div className={styles.githubIcon}></div>
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en-us.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"sample_lang": "中文"
},
"footer": {
"record_1": "©2018-{{year}} ITERING TECH PTE. LTD."
"record_1": "© {{year}} ITERING TECH PTE. LTD."
},

"home_page": {
Expand Down
2 changes: 1 addition & 1 deletion src/locales/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"sample_lang": "English"
},
"footer": {
"record_1": "©2018-{{year}} ITERING TECH PTE. LTD."
"record_1": "© {{year}} ITERING TECH PTE. LTD."
},

"home_page": {
Expand Down

0 comments on commit 06b1f9a

Please sign in to comment.