Schema doesn't support DATE nor TIME type
Gerhard Killesreiter - April 30, 2008 - 00:20
| Project: | Drupal |
| Version: | 7.x-dev |
| Component: | database system |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
e.g. TIME on mysql, interval on pgsql.

#1
I'm I the only one to think that those have no purpose (especially on a loosely typed language like PHP?). Moreover, those are fixed length, which is ugly, and I only had problem with those on some DBMS (ie. Oracle) that assume that date/time types should be locale dependent (both in term of order of arguments AND in timezone).
#2
+1
http://en.wikibooks.org/wiki/SQL_dialects_reference/Data_structure_defin...
#3
#200953: Schema API lacks the 'time' and 'date' type
#4
Well, still -1. I don't think we ever need them. DATE and TIME fields are ugly, and we have perfectly working timestamps.
#5