mirror of
https://github.com/Spythere/genera-tor.git
synced 2026-05-04 05:58:12 +00:00
Wybór posterunku
This commit is contained in:
+10
-2
@@ -1,3 +1,11 @@
|
||||
export function currentFormattedDate() {
|
||||
return new Date().toLocaleDateString('pl-PL', { day: 'numeric', month: 'numeric', year: 'numeric' }) + 'r.';
|
||||
}
|
||||
return new Date().toLocaleDateString('pl-PL', { day: 'numeric', month: 'numeric', year: 'numeric' }) + 'r.';
|
||||
}
|
||||
|
||||
export function currentFormattedMinutes() {
|
||||
return new Date().toLocaleTimeString('pl-PL', { minute: '2-digit' });
|
||||
}
|
||||
|
||||
export function currentFormattedHours() {
|
||||
return new Date().toLocaleTimeString('pl-PL', { hour: '2-digit' });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user