View Single Post
Old 03-10-19, 08:43 AM   #8
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 874
Downloads: 72
Uploads: 3
Default

I think I found a cause for this.

data/scripts/menu/Page Ships Journal.py

There's a fragment:

 
def AddingAccept_Clicked( sender ):
journal = GetShipsJournal()
global EditingBox
entrytext = EditingBox.Text
entrytext = entrytext.PadLeft( 1 )
index = PageShipsJournal_Adding_Title[ "Index" ]
newentry = []

gdt = Game.CurrentGameDateTime
gdt = gdt.AddSeconds( GetTimeZoneModifier() )


After deleting the line in bold, when I add new journal entry it appears with correct time. I'm not familiar with Python but it seems to add time zone modifier to already correct time, which would give effect I observed (entry time being off by hour difference between nautical and GMT time).

This is in TWoS 2.2.10.
kapuhy is offline   Reply With Quote