Skip to content

DateSeparator & FormatSettings #5

@hafedh-trimeche

Description

@hafedh-trimeche

This code would be changed

          if IsDate(txt) then
          begin
            if BiDiMode = bdRightToLeft then
            begin
              txt := MonthDayYearFormat(txt);
              xlSheet.Range['A4:Z4'].Cells[ARow, ACol + 1].NumberFormat :=
                'yyyy' + DateSeparator + 'mm' + DateSeparator + 'dd';
            end;
          end;

to

          if IsDate(txt) then
          begin
            if BiDiMode = bdRightToLeft then
            begin
              txt := MonthDayYearFormat(txt);
              xlSheet.Range['A4:Z4'].Cells[ARow, ACol + 1].NumberFormat :=
                'yyyy' + FormatSettings.DateSeparator + 'mm' + FormatSettings.DateSeparator + 'dd';
            end;
          end;



Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions