mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
Poprawki
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { defineComponent } from 'vue';
|
||||
|
||||
export default defineComponent({
|
||||
methods: {
|
||||
localeDate(dateString: string) {
|
||||
return new Date(dateString).toLocaleDateString("pl-PL", {
|
||||
weekday: "long",
|
||||
day: "numeric",
|
||||
month: "2-digit",
|
||||
year: "numeric",
|
||||
hour:"2-digit",
|
||||
minute: "2-digit"
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user