mirror of
https://github.com/Spythere/genera-tor.git
synced 2026-05-03 05:28:13 +00:00
format & lint; poprawki do nowego API
This commit is contained in:
@@ -1,5 +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() {
|
||||
@@ -10,4 +16,3 @@ export function currentFormattedMinutes() {
|
||||
export function currentFormattedHours() {
|
||||
return new Date().toLocaleTimeString('pl-PL', { hour: '2-digit' });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user