View | Details | Raw Unified | Return to bug 138408
Collapse All | Expand All

(-)lib/ofx_utilities.cpp 2009-09-01 02:32:26.000000000 +0900 (+4 lines)
Lines 16-21 Link Here
16
 *                                                                         *
16
 *                                                                         *
17
 ***************************************************************************/
17
 ***************************************************************************/
18
#include <config.h>
18
#include <config.h>
19
#include <locale.h>
19
#include <iostream>
20
#include <iostream>
20
#include <assert.h>
21
#include <assert.h>
21
22
Lines 113-118 Link Here
113
  char time_zone_specified = false;
114
  char time_zone_specified = false;
114
115
115
  time_t temptime;
116
  time_t temptime;
117
118
  bzero(&time, sizeof(time));
119
116
  std::time(&temptime);
120
  std::time(&temptime);
117
  local_offset = difftime(mktime(localtime(&temptime)), mktime(gmtime(&temptime)));
121
  local_offset = difftime(mktime(localtime(&temptime)), mktime(gmtime(&temptime)));

Return to bug 138408