Project

General

Profile

Feature #2112

Second parameter of api_strtotime($time, $timezone) should be UTC by default + other comments

Added by Julio Montoya almost 9 years ago. Updated almost 7 years ago.

Status:
Needs more info
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
06/10/2010
Due date:
% Done:

70%

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

Description

Will more easy to handle dates since in the future every date in the DB will be in UTC
What do you think?

History

#1

Updated by Julio Montoya almost 9 years ago

  • Subject changed from Second parameter of api_strtotime($time, $timezone) should be UTC by default to Second parameter of api_strtotime($time, $timezone) should be UTC by default + other comments

Also we should add a new format to show dates

06 Oct 2010 instead of Oct 06, 10

Or better format dates should depend of the language like the "lastname, firstname" order

define('TIME_NO_SEC_FORMAT', 0); // 15:23
define('DATE_FORMAT_SHORT', 1); // Aug 25, 09
define('DATE_FORMAT_LONG', 2); // Aug 25, 09

define('DATE_TIME_FORMAT_LONG', 3); // August 25, 2009 at 03:28 PM

#2

Updated by Yannick Warnier over 8 years ago

  • Target version set to 1.8.8 stable

I've updated the format to 2010 (this is done in language files). Did you ix the first part?

#3

Updated by Julio Montoya over 8 years ago

  • Target version changed from 1.8.8 stable to 1.9 Stable

Moving this to 1.8.9 doesn't break anything at the moment

#4

Updated by Julio Montoya over 7 years ago

  • Status changed from New to Needs more info
  • Target version changed from 1.9 Stable to 1.9.2
  • % Done changed from 0 to 70
#5

Updated by Julio Montoya almost 7 years ago

  • Target version changed from 1.9.2 to 3.0

Moving to 1.11, this is a "background" task

Also available in: Atom PDF