Fix EMSI TRX time - force it to be local time
This commit is contained in:
@@ -219,8 +219,8 @@ final class EMSI extends BaseProtocol implements CRCInterface,ZmodemInterface
|
||||
|
||||
// EMD5 - MD5 unique string
|
||||
|
||||
// Transaction Number
|
||||
$makedata .= sprintf('{TRX#}{[%lX]}',Carbon::now()->timestamp);
|
||||
// Transaction Number (Time in local time)
|
||||
$makedata .= sprintf('{TRX#}{[%lX]}',Carbon::now()->timestamp+Carbon::now($this->node->node_timezone)->offset);
|
||||
|
||||
$makedata .= sprintf('{TZUTC}{[%+05d]}',-10*60);
|
||||
|
||||
|
Reference in New Issue
Block a user