Browse Source

fix: copyright with latest time (#5271)

crazywoola 10 months ago
parent
commit
013bffc161
1 changed files with 2 additions and 1 deletions
  1. 2 1
      web/app/components/header/account-about/index.tsx

+ 2 - 1
web/app/components/header/account-about/index.tsx

@@ -2,6 +2,7 @@
 import { useTranslation } from 'react-i18next'
 import classNames from 'classnames'
 import Link from 'next/link'
+import dayjs from 'dayjs'
 import s from './index.module.css'
 import Modal from '@/app/components/base/modal'
 import { XClose } from '@/app/components/base/icons/src/vender/line/general'
@@ -38,7 +39,7 @@ export default function AccountAbout({
           <LogoSite className='mx-auto mb-2' />
           <div className='mb-3 text-center text-xs font-normal text-gray-500'>Version {langeniusVersionInfo?.current_version}</div>
           <div className='mb-4 text-center text-xs font-normal text-gray-700'>
-            <div>© 2023 LangGenius, Inc., Contributors.</div>
+            <div>© {dayjs().year()} LangGenius, Inc., Contributors.</div>
             <div className='text-[#1C64F2]'>
               {
                 IS_CE_EDITION