mirror of
https://github.com/skidoodle/albert.lol.git
synced 2025-02-15 06:09:15 +01:00
🌧⌚
This commit is contained in:
parent
ca28b668f7
commit
ce3c841bfc
2 changed files with 5 additions and 2 deletions
|
@ -14,7 +14,10 @@ const Timer = () => {
|
|||
|
||||
return(
|
||||
<div className={styles.time}>
|
||||
<p><FontAwesomeIcon icon={['fas', 'clock']} /> {date.toLocaleDateString('en-GB', { dateStyle: 'short' }) + ' • ' + date.toLocaleTimeString('en-GB', { timeStyle: 'medium', hour12: true, timeZone: 'Europe/Budapest'}).toUpperCase()}</p>
|
||||
<p><FontAwesomeIcon icon={['fas', 'clock']} /> {date.toLocaleString('en-GB', {
|
||||
timeZone: 'Europe/Budapest',
|
||||
hour12: true
|
||||
}).toUpperCase()}</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue