refactor: Tag class support in registerTag()

This commit is contained in:
Jun Yang
2022-11-27 14:04:01 +08:00
parent 1f6ce7c822
commit 92992689cd
145 changed files with 694 additions and 768 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ const formatCodes = {
};
(formatCodes as any).h = formatCodes.b
export default function (d: LiquidDate, formatStr: string) {
export function strftime (d: LiquidDate, formatStr: string) {
let output = ''
let remaining = formatStr
let match