Project

General

Profile

Actions

Feature #883

open

WDateTime: local time

Added by Boris Nagaev over 12 years ago. Updated over 12 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
Target version:
-
Start date:
06/30/2011
Due date:
% Done:

0%

Estimated time:

Description

Provide method of WDateTime, returning localized time, like unix command date:

$ date
Thu Jun 30 18:29:39 MSD 2011
Actions #1

Updated by Koen Deforche over 12 years ago

  • Status changed from New to Feedback
  • Assignee set to Koen Deforche

Hey,

Do you mean the local time on the browser ?

That is actually a thorny problem. It can be done if JavaScript is available.

Unfortunately, there is no reliable way to know in what timezone the user is in, in order to display (other) dates in the correct timezone.

Regards,

koen

Actions #2

Updated by Boris Nagaev over 12 years ago

Timezone info can be pased as an argument to method of WDateTime (each user could set timezone during registration and then this timezone would be used).

Method to get timezone from javascript (if available) and from address of client (if possible) can also be added.

Actions #3

Updated by Boris Nagaev over 12 years ago

Method returning time string for server's time zone would be also useful.

Actions

Also available in: Atom PDF