Browse Source

fix: date time escape was not working

akeit0 3 days ago
parent
commit
557f932011
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/Lua/Standard/Internal/DateTimeHelper.cs

+ 4 - 0
src/Lua/Standard/Internal/DateTimeHelper.cs

@@ -118,6 +118,10 @@ static class DateTimeHelper
                     builder.Append('%');
                     isEscapeSequence = false;
                 }
+                else
+                {
+                    isEscapeSequence = true;
+                }
 
                 continue;
             }