mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Fix ExpressionType.Weekday being off by 1
This commit is contained in:
parent
0b3a5a713e
commit
9b0c275b8b
1 changed files with 1 additions and 1 deletions
|
|
@ -2061,7 +2061,7 @@ internal class SeStringEvaluator : IServiceType, ISeStringEvaluator
|
||||||
value = (uint)MacroDecoder.GetMacroTime()->tm_mday;
|
value = (uint)MacroDecoder.GetMacroTime()->tm_mday;
|
||||||
return true;
|
return true;
|
||||||
case ExpressionType.Weekday:
|
case ExpressionType.Weekday:
|
||||||
value = (uint)MacroDecoder.GetMacroTime()->tm_wday;
|
value = (uint)MacroDecoder.GetMacroTime()->tm_wday + 1;
|
||||||
return true;
|
return true;
|
||||||
case ExpressionType.Month:
|
case ExpressionType.Month:
|
||||||
value = (uint)MacroDecoder.GetMacroTime()->tm_mon + 1;
|
value = (uint)MacroDecoder.GetMacroTime()->tm_mon + 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue