Add tz attribute to handlebar date function

Signed-off-by: chroju <chroju@users.noreply.github.com>
This commit is contained in:
chroju committed 2023-01-06 18:11:29 +09:00
1 parent c98ac5e987
commit 90a1d5cf21
10 files changed
+136 -31

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ export function Parse(s: string): Tag {
for (const field of fields) {
const parts = field
.toString()
.split('=')
.split(/(?<=^[^=]+?)=/)
.map(item => item.trim());
if (parts.length == 1) {
tag.attrs['value'] = parts[0];