mirror of
https://github.com/Ed94/metadesk.git
synced 2026-10-14 12:59:42 -07:00
Radix for MD_I64FromString.
This commit is contained in:
1 parent
0c6df62acd
commit
e7dfe525c5
4 files changed
+7
-7
No files matched your search
@@ -357,7 +357,7 @@ MakeDateString(MD_Node *date)
|
||||
"January", "February", "March", "April", "May", "June", "July", "August",
|
||||
"September", "October", "November", "December",
|
||||
};
|
||||
int month_idx = MD_I64FromString(month->string)-1;
|
||||
int month_idx = MD_I64FromString(month->string, 10)-1;
|
||||
if(month_idx >= 0 && month_idx < sizeof(month_names)/sizeof(month_names[0]))
|
||||
{
|
||||
result = MD_PushStringF("%.*s %s %.*s",
|
||||
|
||||
Reference in new issue
Block a user