Skip to content

GitLab

  • Menu
Projects Groups 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
    • Contributors
    • Graph
    • Compare
    • 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
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • accessibility
  • TYPO3.CMS
  • Repository

Switch branch/tag
  • TYPO3.CMS
  • ..
  • DataHandling
  • DataHandlerTest.php
Find file BlameHistoryPermalink
  • Imko Schumacher's avatar
    [BUGFIX] Set timezone on TCA dbType input · 89f2e9f8
    Imko Schumacher authored Nov 21, 2020 and Benjamin Franzke's avatar Benjamin Franzke 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: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
    Tested-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
    Reviewed-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
    Reviewed-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
    89f2e9f8

Replace DataHandlerTest.php

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.