Skip to content
Snippets Groups Projects
Commit a81d394d authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix dstrtounix() usage

parent 5f5b5b09
No related branches found
No related tags found
No related merge requests found
Pipeline #6990 failed
......@@ -78,7 +78,7 @@ void __fastcall TMainForm::PutUserText(TEdit* Edit, enum user_field fnum)
void __fastcall TMainForm::PutUserDate(TEdit* Edit, enum user_field fnum)
{
if(Edit->Tag)
putuserdatetime(&cfg, user.number, fnum, dstrtounix(&cfg, Edit->Text.c_str()));
putuserdatetime(&cfg, user.number, fnum, dstrtounix(cfg.sys_date_fmt, Edit->Text.c_str()));
Edit->Tag = false;
}
//---------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment