date format
This commit is contained in:
parent
fcd2e6a2c9
commit
283664aab0
@ -17,9 +17,9 @@ export function getDate(cfg: GlobalConfiguration, data: QuartzPluginData): Date
|
||||
}
|
||||
|
||||
export function formatDate(d: Date): string {
|
||||
return d.toLocaleDateString("en-US", {
|
||||
return d.toLocaleDateString("ja-JP", {
|
||||
year: "numeric",
|
||||
month: "short",
|
||||
month: "2-digit",
|
||||
day: "2-digit",
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user