Skip to content

Commit 5c9722a

Browse files
author
Marcin Przepiorowski
committed
fix for timezone
1 parent 8bb5795 commit 5c9722a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lib/Snapshot_obj.pm

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
1313
#
14-
# Copyright (c) 2015,2016 by Delphix. All rights reserved.
14+
# Copyright (c) 2015,2017 by Delphix. All rights reserved.
1515
#
1616
# Program Name : Snapshot_obj.pm
1717
# Description : Delphix Engine Snapshot object
@@ -364,6 +364,10 @@ sub getSnapshotTimeZone {
364364
if ($ret eq 'Etc/Zulu') {
365365
$ret = 'Etc/GMT';
366366
}
367+
368+
if ($ret eq 'Greenwich') {
369+
$ret = 'GMT+00:00';
370+
}
367371

368372
my $tz = new Date::Manip::TZ;
369373

lib/VDB_obj.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
1313
#
14-
# Copyright (c) 2015,2016 by Delphix. All rights reserved.
14+
# Copyright (c) 2015,2017 by Delphix. All rights reserved.
1515
#
1616
# Program Name : VDB_obj.pm
1717
# Description : Delphix Engine Database objects

0 commit comments

Comments
 (0)