fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / jfreereport / patches / libformula-time-notz.patch
blobfec65b17e1a6d924ad56df789f82377220acb31d
1 --- a/jfreereport_libformula/source/org/pentaho/reporting/libraries/formula/DefaultLocalizationContext.java 2010-06-01 17:15:52.000000000 +0200
2 +++ a/jfreereport_libformula.patched/source/org/pentaho/reporting/libraries/formula/DefaultLocalizationContext.java 2013-08-06 13:11:58.000000000 +0200
3 @@ -162,11 +169,17 @@
4 final Locale activeLocale = getLocale();
5 datetimeFormats.add(DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL, activeLocale));
6 dateFormats.add(DateFormat.getDateInstance(DateFormat.FULL, activeLocale));
7 - timeFormats.add(DateFormat.getTimeInstance(DateFormat.FULL, activeLocale));
8 + // LEM: "FULL" does not really make sense for isolated times:
9 + // in the absence of a date, it cannot know whether it is meant in the winter-timezone
10 + // or in the summer (daylight saving time) timezone, and will always display the winter timezone.
11 + // timeFormats.add(DateFormat.getTimeInstance(DateFormat.FULL, activeLocale));
13 datetimeFormats.add(DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG, activeLocale));
14 dateFormats.add(DateFormat.getDateInstance(DateFormat.LONG, activeLocale));
15 - timeFormats.add(DateFormat.getTimeInstance(DateFormat.LONG, activeLocale));
16 + // LEM: "LONG" does not really make sense for isolated times:
17 + // in the absence of a date, it cannot know whether it is meant in the winter-timezone
18 + // or in the summer (daylight saving time) timezone, and will always display the winter timezone.
19 + // timeFormats.add(DateFormat.getTimeInstance(DateFormat.LONG, activeLocale));
21 datetimeFormats.add(DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.MEDIUM, activeLocale));
22 dateFormats.add(DateFormat.getDateInstance(DateFormat.MEDIUM, activeLocale));