fix: explicitly set the locale for toLocaleDateString()
This commit is contained in:
parent
ba5a9ff29c
commit
6ef13ca090
|
@ -14,7 +14,7 @@ export default function PrivacyPolicy() {
|
|||
<h1>Privacy Policy</h1>
|
||||
|
||||
<p>
|
||||
<strong>Effective Date</strong>: {new Date('2024-08-29T02:00:00.000Z').toLocaleDateString()}
|
||||
<strong>Effective Date</strong>: {new Date('2024-08-29T02:00:00.000Z').toLocaleDateString('en-GB')}
|
||||
</p>
|
||||
|
||||
<h2 id="introduction">1. Introduction</h2>
|
||||
|
|
|
@ -14,7 +14,7 @@ export default function TermsOfService() {
|
|||
<h1>Terms of Service</h1>
|
||||
|
||||
<p>
|
||||
<strong>Effective Date</strong>: {new Date('2024-08-29T02:00:00.000Z').toLocaleDateString()}
|
||||
<strong>Effective Date</strong>: {new Date('2024-08-29T02:00:00.000Z').toLocaleDateString('en-GB')}
|
||||
</p>
|
||||
|
||||
<h2 id="acceptance-of-terms">1. Acceptance of Terms</h2>
|
||||
|
|
Loading…
Reference in a new issue