Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

I was answering this stackoverflowstackoverflow question and found strange result:

I was answering this stackoverflow question and found strange result:

I was answering this stackoverflow question and found strange result:

deleted 3 characters in body
Source Link
sufleR
  • 658
  • 7
  • 18

This suggest that if I use one of abbreviations (CET or CEST) for big data range (summer time and winter time) result will be wrong for some of records but will. Will be good if I use 'Europe/Berlin'.

I also changed the system time to '2012-01-17' and pg_timezone_names has changed also.

This suggest that if I use one of abbreviations (CET or CEST) for big data range (summer time and winter time) result will be wrong for some of records but will be good if I use 'Europe/Berlin'.

I also changed the system time to '2012-01-17' and pg_timezone_names has changed also.

This suggest that if I use one of abbreviations (CET or CEST) for big data range (summer time and winter time) result will be wrong for some of records. Will be good if I use 'Europe/Berlin'.

I changed the system time to '2012-01-17' and pg_timezone_names has changed also.

added 817 characters in body
Source Link
sufleR
  • 658
  • 7
  • 18

EDIT2 In 2012-10-28 timezone has change from summer time to winter time at 2:00.
This two records have the same value in Europe/Berlin:

204 | 2012-10-28 02:00:00+02 | 2012-10-28 02:00:00 | 2012-10-28 01:00:00
106 | 2012-10-28 02:00:00+01 | 2012-10-28 02:00:00 | 2012-10-28 02:00:00

This suggest that if I use one of abbreviations (CET or CEST) for big data range (summer time and winter time) result will be wrong for some of records but will be good if I use 'Europe/Berlin'.

I also changed the system time to '2012-01-17' and pg_timezone_names has changed also.

select * from  pg_timezone_names  where name ='Europe/Berlin';
     name      | abbrev | utc_offset | is_dst 
---------------+--------+------------+--------
 Europe/Berlin | CEST   | 02:00:00   | t

EDIT2 In 2012-10-28 timezone has change from summer time to winter time at 2:00.
This two records have the same value in Europe/Berlin:

204 | 2012-10-28 02:00:00+02 | 2012-10-28 02:00:00 | 2012-10-28 01:00:00
106 | 2012-10-28 02:00:00+01 | 2012-10-28 02:00:00 | 2012-10-28 02:00:00

This suggest that if I use one of abbreviations (CET or CEST) for big data range (summer time and winter time) result will be wrong for some of records but will be good if I use 'Europe/Berlin'.

I also changed the system time to '2012-01-17' and pg_timezone_names has changed also.

select * from  pg_timezone_names  where name ='Europe/Berlin';
     name      | abbrev | utc_offset | is_dst 
---------------+--------+------------+--------
 Europe/Berlin | CEST   | 02:00:00   | t
added 891 characters in body
Source Link
sufleR
  • 658
  • 7
  • 18
Loading
added 51 characters in body
Source Link
sufleR
  • 658
  • 7
  • 18
Loading
Source Link
sufleR
  • 658
  • 7
  • 18
Loading