Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • S SAP Timesheet
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • sap-timesheet
  • SAP Timesheet
  • Merge requests
  • !5

Fix no-entries detection caused by Windows newlines

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Marius Shekow requested to merge 16-no-entries-detected into main Mar 01, 2022
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Closes #16 (closed)

Underlying problem: Windows CSV files may have \r\n as newline delimiter, and JS only split by \n. If the date column is the last one, the date was something like 2022-02-02\r which is invalid.

Fixed by stripping newlines and spaces for each line.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 16-no-entries-detected

Datenschutz und Impressum