[ACP-1810]  Log of last used filter blows up on some European systems
Type Bug
Priority High
Severity Show Stopper
Component AcquireSupport library
Fixed In Version [9.09.0
Versions Affected [
Severity Closed
Resolution Complete
Reported By Bob Denny
Resources Bob Denny
Start Date 3/25/2021

Description
The message ""Selecting filter xxxxx from previous ACP run at yyyyy" blows up on some European systems. The

CDate(buf), "yyyymmdd@HhNnSs") 

fails. The data stored in the registry as LastFilterUsedTime is not in a format that the conversion can digest. It is saved via

Util.Profile.WriteValue "LastFilterUsedTime", Util.SysUTCDate, "\"

Fix this so it is always compatible. Maybe use Locale?


Comments
3/25/2021 2:05:39 PM   Bob Denny
SVN Comment
Author rbdenny
Repository svn+ssh://rbdenny@a2_svn_dc3/home/rbdenny/svn/astro/acp
SVN Revision 1303
Affected files /trunk/ACP Help/relnotes.htm (Modified)
/trunk/AcquireSupport.wsc (Modified)
/trunk/Script Components Master/AcquireSupport.wsc (Modified)
Check-in comment Prevent run start failures on some Windows Language/Locales from format clashes when reading and writing the date/time when the last filter was used. GEM:1810
3/25/2021 1:49:22 PM   Bob Denny
Format the UTC date as all-numeric "yyyymmdd@HhNnSs" when writing out to Profile and just read the already formatted string back in.