[meta][no patch] Replace uses of REQUEST_TIME and time() with time service

Created on 17 August 2017, over 7 years ago
Updated 12 March 2024, 9 months ago

Problem/Motivation

A time service was added to 8.3.x in #2717207: Add a time service to provide consistent interaction with time()/microtime() and superglobals โ†’ .

Core code should be updated to remove deprecated uses of REQUEST_TIME and time() and others.

For more informations, see the change record โ†’ .

Proposed resolution

Split this up into manageable chunks (#57 by @mpdonadio).

Remaining tasks

  1. ๐Ÿ“Œ Replace REQUEST_TIME in services Fixed
  2. ๐Ÿ“Œ Replace REQUEST_TIME in classes with direct container access Fixed
  3. ๐Ÿ“Œ Replace REQUEST_TIME in plugins with direct container access Active
  4. ๐Ÿ“Œ Replace REQUEST_TIME in rest of OO code (except for tests) Fixed
  5. ๐Ÿ“Œ Replace REQUEST_TIME in Unit and Kernel tests Postponed
  6. ๐Ÿ“Œ Replace REQUEST_TIME in Functional and FunctionalJavascript tests Needs work

User interface changes

API changes

Data model changes

Release notes snippet

๐Ÿ“Œ Task
Status

Fixed

Version

11.0 ๐Ÿ”ฅ

Component
Datetimeย  โ†’

Last updated 2 days ago

Created by

๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom joachim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024