Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#643 closed Bug/Fehler (fixed)

Probleme mit Umlauten in Monats-Dropdown der Umsatzstatistik bei latin1

Reported by: Torsten Riemer Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.0.0
Component: Admin Version: 2.0.0.0
Keywords: Cc:
Blocked By: Blocking:

Description

web28 hat mich darauf aufmerksam gemacht, dass er bei einer latin1 Installation Umlaut-Probleme hatte beim Monats-Dropdown in der Umsatzstatistik (stats_sales_report.php). Der Monat "März" wurde ihm als "M?rz" angezeigt.

Die Monate werden in der "stats_sales_report.php" in Zeile 189 geholt:

  $month_array = array();
  for ($i = 1; $i < 13; $i++) {
    $month_array[] = array('id' => $i, 'text' => decode_utf8(strftime("%B", mktime(0, 0, 0, $i, 1))));
  }

Ich selber konnte das Problem nicht nachstellen. Da scheint es verschiedene Möglichkeiten der Server-Konfiguration zu geben, die die Monate aus den "locales" unterschiedlich ausliefern.

Attachments (0)

Change History (4)

comment:1 by Ronald Parcinski, 10 years ago

Resolution: fixed
Status: newclosed

In 8744:

fix decode_utf8 (partly fix #643)

comment:2 by Torsten Riemer, 10 years ago

Resolution: fixed
Status: closedreopened

Die Korrektur aus r8744 funktioniert nicht. Sie hat zur Folge, dass im Demoshop 2.00 nun im Monats-Dropdown gar keine Monate mehr angezeigt werden.

comment:3 by Ronald Parcinski, 10 years ago

Resolution: fixed
Status: reopenedclosed

behoben in r8764

comment:4 by Ronald Parcinski, 10 years ago

In 8764:

fix decode_utf8 (fix #643)

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.