Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T TYPO3.CMS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • accessibilityaccessibility
  • TYPO3.CMS
  • Repository
  • TYPO3.CMS
  • typo3
  • sysext
  • core
  • Classes
  • DataHandling
  • DataHandler.php
Find file Blame History Permalink
  • Imko Schumacher's avatar
    [BUGFIX] Set timezone on TCA dbType input · 89f2e9f8
    Imko Schumacher authored Nov 21, 2020 and bfr's avatar bfr committed Dec 21, 2020
    The value from columns that are marked as "dbType" date(time) fields
    in TCA configuration are now explicitly interpreted using UTC timezone,
    when the string value has no timezone specifier given.
    JS supplied values contain Z as specifier, while records from the database
    (which are processed during copy operations) do not contain a timezone
    specifier.
    Local time was assumed by PHP in the latter case before, as we did not
    pass an explicit timezone information to the DateTime constructor.
    
    Therefore we now assure no timezone conversion will happen and no
    time/date-offset will be added, by using UTC explicitly.
    
    Resolves: #89914
    Releases: master, 10.4, 9.5
    Change-Id: I8e531ae5f3367c4493ce1e7db4bec0ef02311e24
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66670
    
    
    Tested-by: default avatarTYPO3com <noreply@typo3.com>
    Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
    Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
    Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
    Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
    89f2e9f8