Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,108
    • Issues 2,108
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #36252
Closed
Open
Issue created Nov 03, 2019 by FPC Admin account@fpc_adminOwner

CocoaDatePicker displays incorrect date, returns incorrect date

Original Reporter info from Mantis: Frank
  • Reporter name: Frank

Description:

A TCocoaDatePicker defaults to local time zone, an NSDate defaults to GMT, a TDateTime knows nothing of time zone. we must then set default TCocoaDatePicker time zone to GMT... or at least this is my understanding.

Attached is test project & patch

Mantis conversion info:

  • Mantis ID: 36252
  • OS: macOS
  • OS Build: 10.14.6
  • Build: 62115
  • Platform: Mac
  • Version: 2.0.7 (SVN)
  • Fixed in revision: 62187 (#4f6399d3)
Assignee
Assign to
Time tracking