![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
The following bug has been logged online: Bug reference: 1332 Logged by: Robert Grabowski Email address: grabba (AT) env (DOT) pl PostgreSQL version: 7.4.6 Operating system: Linux Description: wrong results from age function Details: select age('2004-02-01'::date, '2004-01-01'::date); age ------- 1 mon (1 row) select age('2004-03-01'::date, '2004-02-01'::date); age --------- 29 days (1 row) I think, it should be "1 mon". |
#3
| |||
| |||
|
|
I think, it should be "1 mon". I get "1 mon" when I try this: |
#4
| |||
| |||
|
|
Tom Lane wrote: So do I. It might be timezone dependent though ... Robert, what timezone setting are you using? tmpl=# show TimeZone; TimeZone ---------- unknown (1 row) |
#5
| |||
| |||
|
|
Bruno Wolff III <bruno (AT) wolff (DOT) to> writes: I think, it should be "1 mon". I get "1 mon" when I try this: So do I. It might be timezone dependent though ... Robert, what timezone setting are you using? regards, tom lane |
![]() |
| Thread Tools | |
| Display Modes | |
| |