mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 20:30:05 +00:00
Fix text product start time when first P-VTEC uses 000000T0000Z
This commit is contained in:
parent
58a2d8982a
commit
45b0df3e0b
3 changed files with 90 additions and 5 deletions
|
|
@ -421,8 +421,7 @@ AlertModelImpl::GetStartTime(const types::TextEventKey& key)
|
|||
if (messageList.size() > 0)
|
||||
{
|
||||
auto& firstMessage = messageList.front();
|
||||
auto firstSegment = firstMessage->segment(0);
|
||||
return firstSegment->header_->vtecString_[0].pVtec_.event_begin();
|
||||
return firstMessage->segment_event_begin(0);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue