Project

General

Profile

Bug #1851

Dates not localized

Added by Marko Kastelic about 9 years ago. Updated almost 9 years ago.

Status:
Feature implemented
Priority:
High
Assignee:
-
Category:
-
Target version:
Start date:
14/08/2010
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
8

Description

there are many places,tools that displays time and/or date not being localized. For example : glosary, history training session(s) time limitation, session category time limitation, ....

due to
return $date->format('Y-m-d H:i:s');
from method api_get_local_time (internatinalization.lib.php)

may i suggest to browse for the files for using api_get_local_time without being wrapped by method for eq. api_format_date from the same library ?

just one case is shown on the image attached
bad date


Files

session_sess_category_limitation.PNG (119 KB) session_sess_category_limitation.PNG bad date Marko Kastelic, 14/08/2010 22:16

History

#1

Updated by Yannick Warnier almost 9 years ago

  • Priority changed from Normal to High
  • Target version set to 1.8.8 alpha
  • SCRUM pts - complexity changed from ? to 8
#2

Updated by Diego E almost 9 years ago

  • Status changed from New to Feature implemented

I committed a patch fixing a couple misuses of api_get_local_time. The function is used in a lot of somewhat complex places, so I left a lot of ocurrences yet.

Also available in: Atom PDF