| Index: src/platform-solaris.cc
|
| diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc
|
| index 4d910d47ad0abe78c7f80f1bbebf8d376c11665c..f23ae0838b6db00f4abfaf2d91a53085ec74d034 100644
|
| --- a/src/platform-solaris.cc
|
| +++ b/src/platform-solaris.cc
|
| @@ -80,7 +80,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);
|
| @@ -89,7 +89,7 @@ const char* OS::LocalTimezone(double time) {
|
| }
|
|
|
|
|
| -double OS::LocalTimeOffset() {
|
| +double OS::LocalTimeOffset(TimezoneCache* cache) {
|
| tzset();
|
| return -static_cast<double>(timezone * msPerSecond);
|
| }
|
|
|