[Bug 19992] Support client-side date/time formatting for user's local timezone (JavaScript)

2012-09-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=19992

Ryan Kaldari  changed:

   What|Removed |Added

 CC||rkald...@wikimedia.org

--- Comment #5 from Ryan Kaldari  2012-09-19 21:43:23 
UTC ---
As more and more MediaWiki interfaces are being constructed dynamically on the
client-side, we really need to implement a solution for this. Not only for
timezone, but also for preferred date format and language (for logged in
users). Siebrand says the i18n team is aware of the issue and hoping to work on
it some time in the near future (possibly with Timo's assistance).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 19992] Support client-side date/time formatting for user's local timezone (JavaScript)

2012-02-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=19992

Mark A. Hershberger  changed:

   What|Removed |Added

 CC||lejo...@telia.com

--- Comment #4 from Mark A. Hershberger  2012-02-26 
21:07:04 UTC ---
*** Bug 34727 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 19992] Support client-side date/time formatting for user's local timezone (JavaScript)

2011-11-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=19992

Daniel Friesen  changed:

   What|Removed |Added

 CC||mediawiki-bugs@nadir-seen-f
   ||ire.com
 Depends on||32545

--- Comment #3 from Daniel Friesen  
2011-11-21 12:16:12 UTC ---
For the output, I think we should make use of html5's  element. It has
the semantics for this, it's got a datetime="" attribute for the machine
readable format, and it was pretty much invented for precisely this kind of
purpose. (Well that, and maybe also letting JS create a countdown to that time)

Relevant bug 32545. I added it as a dependency.
The easiest way to start this is probably to add support for  to
WikiText. Then implement client side scripts that do things to . And then
start adding special WikiText syntaxes for signatures and other special cases
we have.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 19992] Support client-side date/time formatting for user's local timezone (JavaScript)

2011-09-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=19992

Brion Vibber  changed:

   What|Removed |Added

 Blocks||30857

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 19992] Support client-side date/time formatting for user's local timezone (JavaScript)

2011-09-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=19992

Krinkle  changed:

   What|Removed |Added

 Blocks||30672

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 19992] Support client-side date/time formatting for user's local timezone (JavaScript)

2011-09-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=19992

Krinkle  changed:

   What|Removed |Added

 Blocks|30674   |

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 19992] Support client-side date/time formatting for user's local timezone (JavaScript)

2011-09-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=19992

Krinkle  changed:

   What|Removed |Added

 Blocks||30674
 Depends on|30674   |

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 19992] Support client-side date/time formatting for user's local timezone (JavaScript)

2011-08-31 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=19992

Mark A. Hershberger  changed:

   What|Removed |Added

 Depends on||30674

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 19992] Support client-side date/time formatting for user's local timezone (JavaScript)

2011-06-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=19992

--- Comment #2 from Brion Vibber  2011-06-06 22:24:37 UTC 
---
Some answers to my older questions to self:

* avoid document.write; we are a DOM world now, and jQuery simplifies out some
of the browser-specific oddities like text vs textContent

* various formatting & localization stuff is getting merged into the JS side
these days, so we should make sure this is handled in some consistent-ish way

* talk page signature should probably start marking up times in a
machine-readable way so we can reformat those

* DST stuff appears to be handled correctly; the browser's JS engine will hook
into some system locale library that has all the timezone info, so it should do
conversions from UTC to local time using the appropriate mode for the date the
time is attached to, as long as both bits of info are there. Confirmed that
Date.getTimezoneOffset() returns the offset for the target date, not the
current date.

The actual markup is still an open issue... one possibility is to use a data
attribute:

  6 June 2011
22:06:34

or for just date or just time:

  22:06:34
  6 June 2011

With JS off, whatever the original form was goes through intact. With JS on,
our handlers zip on through finding the matching ones and reformatting them.


Couple issues:

* as noted above, lists with date headings like RecentChanges will need special
handling, since day boundaries move.

* the in-browser JS APIs don't expose a symbolic name for the timezone -- we
can get an offset, though, so can display like '15:06:34 (UTC-7)' though we
perhaps can't reliably display '15:06:34 (PDT)'.

* 'flicker' can be a problem with post-processing of timestamps; slow page
loads may leave a delay between the start of the document being visible and
loading & execution of code at end. Possibly we can get away with an early
start for the time formatting, but access to locale info is very useful for
this...

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 19992] Support client-side date/time formatting for user's local timezone (JavaScript)

2011-06-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=19992

Brion Vibber  changed:

   What|Removed |Added

 Blocks||29289

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 19992] Support client-side date/time formatting for user's local timezone (JavaScript)

2011-06-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=19992

Brion Vibber  changed:

   What|Removed |Added

 Blocks||5347

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 19992] Support client-side date/time formatting for user's local timezone (JavaScript)

2011-06-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=19992

Brion Vibber  changed:

   What|Removed |Added

 Blocks||29235

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 19992] Support client-side date/time formatting for user's local timezone (JavaScript)

2009-07-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=19992





--- Comment #1 from Brion Vibber   2009-07-29 15:50:10 UTC 
---
One more note -- can we handle DST correctly this way? Times should be adjusted
for the local offset in place on their dates, not dependent on whether we're in
dst or not at the time we view it. (in which case we also need clear tz marking
so you can distinguish the overlap zones where there's two 2ams in a row. )


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l