[PR #138] [CLOSED] Just an idea to avoid limitations in date intervals to days and months on more flexible DBMS ... #7765

Closed
opened 2026-01-22 15:56:43 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/138
Author: @cariboo
Created: 9/27/2011
Status: Closed

Base: masterHead: master


📝 Commits (3)

  • cc0fa24 Different implementation of the date/time manipulation functions so that those are no more limited to days and months intervals in PostgreSQL without impacting over DBMS (and can be improved later by developers with sufficient skills on the other DBMS)
  • f42ad1c Duplicated 'parse' function and unused '' variable removed.
  • 4dce297 Functions that handle intervals are renamed to avoid conflicts with existing functions of the DBAL

📊 Changes

3 files changed (+14 additions, -32 deletions)

View changed files

📝 lib/Doctrine/ORM/Query/AST/Functions/DateAddFunction.php (+6 -15)
📝 lib/Doctrine/ORM/Query/AST/Functions/DateDiffFunction.php (+2 -2)
📝 lib/Doctrine/ORM/Query/AST/Functions/DateSubFunction.php (+6 -15)

📄 Description

Different implementation of the date/time manipulation functions so that those are no more limited to days and months intervals in PostgreSQL without impacting over DBMS (and can be improved later by developers with sufficient skills on the other DBMS)

This pull request should be associated with the one i sent on the doctrine-dbal lib.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/138 **Author:** [@cariboo](https://github.com/cariboo) **Created:** 9/27/2011 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (3) - [`cc0fa24`](https://github.com/doctrine/orm/commit/cc0fa245c2ff2a215059f6875fbc0db27b526798) Different implementation of the date/time manipulation functions so that those are no more limited to days and months intervals in PostgreSQL without impacting over DBMS (and can be improved later by developers with sufficient skills on the other DBMS) - [`f42ad1c`](https://github.com/doctrine/orm/commit/f42ad1c50984d1ed96cf797dc1eddbae842a9e97) Duplicated 'parse' function and unused '' variable removed. - [`4dce297`](https://github.com/doctrine/orm/commit/4dce2971328d2e2045f0153fcbb36e8ea47cb867) Functions that handle intervals are renamed to avoid conflicts with existing functions of the DBAL ### 📊 Changes **3 files changed** (+14 additions, -32 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Query/AST/Functions/DateAddFunction.php` (+6 -15) 📝 `lib/Doctrine/ORM/Query/AST/Functions/DateDiffFunction.php` (+2 -2) 📝 `lib/Doctrine/ORM/Query/AST/Functions/DateSubFunction.php` (+6 -15) </details> ### 📄 Description Different implementation of the date/time manipulation functions so that those are no more limited to days and months intervals in PostgreSQL without impacting over DBMS (and can be improved later by developers with sufficient skills on the other DBMS) This pull request should be associated with the one i sent on the doctrine-dbal lib. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:56:43 +01:00
admin closed this issue 2026-01-22 15:56:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#7765