| Index: src/platform-openbsd.cc
|
| diff --git a/src/platform-openbsd.cc b/src/platform-openbsd.cc
|
| index c881d4735ddeedd4195c934ccc3ac3e86738feaa..a5d477d6143e247279dc1bd6e082e56078a009b4 100644
|
| --- a/src/platform-openbsd.cc
|
| +++ b/src/platform-openbsd.cc
|
| @@ -59,7 +59,7 @@ namespace v8 {
|
| namespace internal {
|
|
|
|
|
| -const char* OS::LocalTimezone(double time) {
|
| +const char* OS::LocalTimezone(double time, TimezoneCache* cache) {
|
| if (std::isnan(time)) return "";
|
| time_t tv = static_cast<time_t>(std::floor(time/msPerSecond));
|
| struct tm* t = localtime(&tv);
|
| @@ -68,7 +68,7 @@ const char* OS::LocalTimezone(double time) {
|
| }
|
|
|
|
|
| -double OS::LocalTimeOffset() {
|
| +double OS::LocalTimeOffset(TimezoneCache* cache) {
|
| time_t tv = time(NULL);
|
| struct tm* t = localtime(&tv);
|
| // tm_gmtoff includes any daylight savings offset, so subtract it.
|
|
|