![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 7 of 7 total |
![]() |
Wed, Oct 15 2014 5:32 AM | Permanent Link |
Chris Holland SEC Solutions Ltd. ![]() | When I try and set the Short Time Format like this:
FormatSettings.ShortTimeFormat := 'HH:mm'; It throws an error in V1.04 Build 1 This worked fine in V1.03, has the format changed for this build or is this a bug? Chris Holland [Team Elevate] |
Wed, Oct 15 2014 8:03 AM | Permanent Link |
Matthew Jones | Chris Holland wrote:
> When I try and set the Short Time Format like this: > > FormatSettings.ShortTimeFormat := 'HH:mm'; > > It throws an error in V1.04 Build 1 > > This worked fine in V1.03, has the format changed for this build or > is this a bug? I'd want to do a diff on the source - checking back this used to be an issue, so I wonder if it has regressed. -- Matthew Jones |
Wed, Oct 15 2014 8:55 AM | Permanent Link |
Chris Holland SEC Solutions Ltd. ![]() | Tim has emailed me and it is a "feature" - he will have a fix out soon.
Chris On 15/10/2014 13:03, Matthew Jones wrote: > Chris Holland wrote: > >> When I try and set the Short Time Format like this: >> >> FormatSettings.ShortTimeFormat := 'HH:mm'; >> >> It throws an error in V1.04 Build 1 >> >> This worked fine in V1.03, has the format changed for this build or >> is this a bug? > > I'd want to do a diff on the source - checking back this used to be an > issue, so I wonder if it has regressed. > |
Fri, Oct 24 2014 11:06 AM | Permanent Link |
Walter Matte Tactical Business Corporation | Chris
Was there a workaround for this? Or did you revert back to V 1.03 B7 Walter SChris Holland wrote: Tim has emailed me and it is a "feature" - he will have a fix out soon. Chris On 15/10/2014 13:03, Matthew Jones wrote: > Chris Holland wrote: > >> When I try and set the Short Time Format like this: >> >> FormatSettings.ShortTimeFormat := 'HH:mm'; >> >> It throws an error in V1.04 Build 1 >> >> This worked fine in V1.03, has the format changed for this build or >> is this a bug? > > I'd want to do a diff on the source - checking back this used to be an > issue, so I wonder if it has regressed. > |
Sat, Oct 25 2014 7:22 AM | Permanent Link |
Chris Holland SEC Solutions Ltd. ![]() | Tim sent me a work around but I just changed the short time to be
HH:mm:ss and that worked. -- Chris Holland Walter Matte <> Wrote in message: > Chris > > Was there a workaround for this? > > Or did you revert back to V 1.03 B7 > > Walter > > > SChris Holland wrote: > > Tim has emailed me and it is a "feature" - he will have a fix out soon. > > Chris > > On 15/10/2014 13:03, Matthew Jones wrote: >> Chris Holland wrote: >> >>> When I try and set the Short Time Format like this: >>> >>> FormatSettings.ShortTimeFormat := 'HH:mm'; >>> >>> It throws an error in V1.04 Build 1 >>> >>> This worked fine in V1.03, has the format changed for this build or >>> is this a bug? >> >> I'd want to do a diff on the source - checking back this used to be an >> issue, so I wonder if it has regressed. >> > > |
Mon, Oct 27 2014 2:48 AM | Permanent Link |
Chris Holland SEC Solutions Ltd. ![]() | Hi Walter,
Here is the work around that Tim sent me: I'll have a fix for this out shortly, but for now just use this code: function TFormatSettings.ParseShortTime(const Value: String; Format: Boolean=False): TStringsArray; var I: Integer; begin SetLength(Result,4); if Format then <<<<<<<<<<<<<<<<<<<<<<<<<< Add these if/else blocks begin Result[0]:=''; Result[1]:=''; Result[2]:=''; Result[3]:=''; end else begin Result[0]:='0'; Result[1]:='0'; Result[2]:='0'; Result[3]:='0'; end; and also: function TFormatSettings.ParseShortDate(const Value: String; Format: Boolean=False): TStringsArray; var I: Integer; begin SetLength(Result,3); if Format then <<<<<<<<<<<<<<< Same thing, add these if/else blocks begin Result[0]:=''; Result[1]:=''; Result[2]:=''; end else begin Result[0]:='0'; Result[1]:='0'; Result[2]:='0'; end; Chris Holland [Team Elevate] |
Mon, Oct 27 2014 8:34 AM | Permanent Link |
Walter Matte Tactical Business Corporation | Thank you. Walter |
This web page was last updated on Saturday, June 3, 2023 at 10:17 AM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |