husted      2004/01/13 19:52:25

  Modified:    src/share/org/apache/struts/taglib/bean WriteTag.java
  Log:
  Apply fix for #25134 , submitted by  Per Terkelsen.
  
  Revision  Changes    Path
  1.35      +4 -12     
jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java
  
  Index: WriteTag.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/bean/WriteTag.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- WriteTag.java     13 Jan 2004 12:48:46 -0000      1.34
  +++ WriteTag.java     14 Jan 2004 03:52:25 -0000      1.35
  @@ -409,18 +409,10 @@
                           formatString = retrieveFormatString(DATE_FORMAT_KEY);
                       }
   
  -                    if (formatString != null) {
  -                        formatStrFromResources = true;
  -                    }
  -
                   }
   
                   if (formatString != null) {
  -                    if (formatStrFromResources) {
                           format = new SimpleDateFormat(formatString, locale);
  -                    } else {
  -                        format = new SimpleDateFormat(formatString);
  -                    }
                   }
               }
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to