mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
perltidy: Add option --nooutdent-long-quotes
This commit is contained in:
@@ -343,7 +343,7 @@ sub parse_datetime
|
||||
{
|
||||
my ($dt) = @_;
|
||||
$dt =~
|
||||
/^(\d\d\d\d)-(\d\d)-(\d\d)\s+(\d\d):(\d\d):(\d\d)\s+([-+])(\d\d)(\d\d)$/;
|
||||
/^(\d\d\d\d)-(\d\d)-(\d\d)\s+(\d\d):(\d\d):(\d\d)\s+([-+])(\d\d)(\d\d)$/;
|
||||
my $gm = Time::Local::timegm($6, $5, $4, $3, $2 - 1, $1);
|
||||
my $tzoffset = ($8 * 60 + $9) * 60;
|
||||
$tzoffset = -$tzoffset if $7 eq '-';
|
||||
|
Reference in New Issue
Block a user