Opened 4 years ago
Closed 4 years ago
#1486015 closed Bugs (fixed)
rcube_mdb2::unixtimestamp for mssql
| Reported by: | Gliese | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.3-stable |
| Component: | Database | Version: | 0.3-rc1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The timezone compensation is missing in the calculation of unixtimestamp when db_provider == mssql (line 510). It should be written as in the mssql MDB2 driver:
return 'DATEDIFF(second, \'19700101\', '. $field.') + DATEDIFF(second, GETDATE(), GETUTCDATE())';
Attachments (1)
Change History (2)
Changed 4 years ago by Gliese
comment:1 Changed 4 years ago by alec
- Resolution set to fixed
- Status changed from new to closed
Fixed in [44653321]
Note: See
TracTickets for help on using
tickets.

diff file