Project

General

Profile

6212.patch

Marian Edu, 04/01/2022 06:41 AM

Download (1.84 KB)

View differences:

src/com/goldencode/p2j/ui/client/FillIn.java
485 485
**                           WebGUI mode.  Used to display password fields.
486 486
**     EVL 20220110          Undo last fix for edit scroller adjust code.  Now the issue is fixed in font
487 487
**                           management code.
488
**     ME  20220401          Set value to unknown for variable used when data type is set (display is called).
488 489
*/
489 490

  
490 491
/*
......
3046 3047
      }
3047 3048

  
3048 3049
      appVar = DisplayFormat.instanceOfType(dataType);
3050
      appVar.setUnknown();
3049 3051

  
3050 3052
      if (config.format != null && config.realized)
3051 3053
         config.appFormat = DisplayFormatFactory.makeFormat(appVar, config.format);
src/com/goldencode/p2j/ui/client/format/DatetimeFormat.java
19 19
** 010 VVT 20210317 Updated for #4880: Format parsing is re-written, no DisplayFormatParsingException
20 20
**                  exist in the system anymore, proper numbered errors are used instead.
21 21
**     VVT 20210322 Fixed after the review. See #4880-107.
22
**     ME  20220401 Fixed screen width for datetime format with time part.
22 23
*/
23 24

  
24 25
/*
......
196 197
      // split date and time parts
197 198
      final int dateTimeSepIdx = fmt.indexOf(' ');
198 199
      final boolean dateSpecOnly = dateTimeSepIdx == -1;
199
      final int fmtScreenWidth = dateSpecOnly ? len : dateTimeSepIdx;
200
      final int fmtScreenWidth = len;
200 201

  
201 202
      int dateTimeCompOrderIndex = 0;
202 203