Re: [Django] #14253: TIME_ZONE not respected by Today and Now widgets in admin

2013-07-09 Thread Django
#14253: TIME_ZONE not respected by Today and Now widgets in admin
-+-
 Reporter:  adamnelson   |Owner:  nobody
 Type:  New feature  |   Status:  closed
Component:  contrib.admin|  Version:  1.2
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Fixed on
Has patch:  0|  a branch
  Needs tests:  0|  Needs documentation:  0
Easy pickings:  0|  Patch needs improvement:  0
 |UI/UX:  1
-+-

Comment (by Aymeric Augustin ):

 In [changeset:"7e6d852bac4de2d5ed2d5ddeabf71482d644ef51"]:
 {{{
 #!CommitTicketReference repository=""
 revision="7e6d852bac4de2d5ed2d5ddeabf71482d644ef51"
 Fixed #20663 -- "Today" and "now" admin shortcuts.

 Changed the shortcuts next to date and time intput widgets
 to account for the current timezone.

 Refs #7717, #14253 and #18768.
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.c53ec14f6a72c6191c67cff7c911675a%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #14253: TIME_ZONE not respected by Today and Now widgets in admin

2013-06-30 Thread Django
#14253: TIME_ZONE not respected by Today and Now widgets in admin
-+-
 Reporter:  adamnelson   |Owner:  nobody
 Type:  New feature  |   Status:  closed
Component:  contrib.admin|  Version:  1.2
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Fixed on
Has patch:  0|  a branch
  Needs tests:  0|  Needs documentation:  0
Easy pickings:  0|  Patch needs improvement:  0
 |UI/UX:  1
-+-

Comment (by aaugustin):

 In fact, time zone support isn't sufficient, because most sites won't have
 per-user time zones: it's a lot of work just to fix the "now" button in
 the admin. We still need the cosmetic fix in addition to the systemic fix.
 (That wasn't obvious at first; we did things in the right order.)

 There's a new attempt to fix this in #20663.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.5e03499f6914d372600269a87427604c%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #14253: TIME_ZONE not respected by Today and Now widgets in admin

2011-11-19 Thread Django
#14253: TIME_ZONE not respected by Today and Now widgets in admin
-+-
 Reporter:  adamnelson   |Owner:  nobody
 Type:  New feature  |   Status:  closed
Component:  contrib.admin|  Version:  1.2
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Fixed on
Has patch:  0|  a branch
  Needs tests:  0|  Needs documentation:  0
Easy pickings:  0|  Patch needs improvement:  0
 |UI/UX:  1
-+-
Changes (by aaugustin):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 I think we can consider this fixed at r17106, which addressed #2626.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #14253: TIME_ZONE not respected by Today and Now widgets in admin

2011-10-29 Thread Django
#14253: TIME_ZONE not respected by Today and Now widgets in admin
-+-
 Reporter:  adamnelson   |Owner:  nobody
 Type:  New feature  |   Status:  new
Component:  contrib.admin|  Version:  1.2
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Fixed on
Has patch:  0|  a branch
  Needs tests:  0|  Needs documentation:  0
Easy pickings:  0|  Patch needs improvement:  0
 |UI/UX:  1
-+-
Changes (by aaugustin):

 * easy:   => 0
 * stage:  Design decision needed => Fixed on a branch


Comment:

 Replying to [comment:3 russellm]:
 > Ultimately, I suspect that this will end up being fixed as a result of
 addressing #2626.

 Indeed, this is fixed in the timezone support branch -- see "Multiple
 timezone support for datetime representation" thread on django-developers.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #14253: TIME_ZONE not respected by Today and Now widgets in admin

2011-01-19 Thread Django
#14253: TIME_ZONE not respected by Today and Now widgets in admin
-+--
  Reporter:  adamnelson  | Owner:  nobody
Status:  new | Milestone:
 Component:  django.contrib.admin|   Version:  1.2   
Resolution:  |  Keywords:
 Stage:  Design decision needed  | Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Comment (by dvanders):

 In the meantime I'm using this nasty nasty hack for my app (to convert
 time to CET).

 {{{
 $ diff  DateTimeShortcuts.js.bak DateTimeShortcuts.js
 48c48
 < now_link.setAttribute('href',
 "javascript:DateTimeShortcuts.handleClockQuicklink(" + num + ", new
 Date().strftime('" + get_format('TIME_INPUT_FORMATS')[0] + "'));");
 ---
 > now_link.setAttribute('href',
 "javascript:DateTimeShortcuts.handleClockQuicklink(" + num + ", new
 Date(new Date().getTime() + new Date().getTimezoneOffset() * 6 +
 360).strftime('" + get_format('TIME_INPUT_FORMATS')[0] + "'));");
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #14253: TIME_ZONE not respected by Today and Now widgets in admin

2010-12-29 Thread Django
#14253: TIME_ZONE not respected by Today and Now widgets in admin
-+--
  Reporter:  adamnelson  | Owner:  nobody
Status:  new | Milestone:
 Component:  django.contrib.admin|   Version:  1.2   
Resolution:  |  Keywords:
 Stage:  Design decision needed  | Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Comment (by adamnelson):

 @russelm agreed

 Just to clarify what this ticket is about: it narrows itself to saying
 that it's not 'now' if you're in UTC+8 and the time is saved as UTC+8 on a
 UTC-4 machine - that's 12 hours ago and is the nature of the problem in
 this ticket.

 I think there are a few solutions:

  1. Convert the timezone on submit.  This is effectively the type of thing
 #2626 would do - it shouldn't happen here and I'm only including this
 option so it's understood that I'm not advocating this.
  1. Show the current time according to the server next to the now button
 and use the server's tz when 'now' is pushed
  1. Show the offset according to the server next to the now button and use
 the server's tz when 'now' is pushed
  1. Give an option to easily disable the 'now' button
  1. Give an option to use server time for the admin datetime widget

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #14253: TIME_ZONE not respected by Today and Now widgets in admin

2010-12-29 Thread Django
#14253: TIME_ZONE not respected by Today and Now widgets in admin
-+--
  Reporter:  adamnelson  | Owner:  nobody
Status:  new | Milestone:
 Component:  django.contrib.admin|   Version:  1.2   
Resolution:  |  Keywords:
 Stage:  Design decision needed  | Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Comment (by russellm):

 @adam - My point is that Django doesn't handle timezones well at the
 moment, and it's something that requires a systemic fix, not a cosmetic
 fix.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #14253: TIME_ZONE not respected by Today and Now widgets in admin

2010-12-29 Thread Django
#14253: TIME_ZONE not respected by Today and Now widgets in admin
-+--
  Reporter:  adamnelson  | Owner:  nobody
Status:  new | Milestone:
 Component:  django.contrib.admin|   Version:  1.2   
Resolution:  |  Keywords:
 Stage:  Design decision needed  | Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Comment (by adamnelson):

 @russelm The issue is that if you push now and you're in UTC+8, the server
 will save the time in UTC+8.  In the future, when the time is retrieved by
 another user, the server will use its timezone to render the time and it
 won't be the time at which you pushed 'now'.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #14253: TIME_ZONE not respected by Today and Now widgets in admin

2010-12-29 Thread Django
#14253: TIME_ZONE not respected by Today and Now widgets in admin
-+--
  Reporter:  adamnelson  | Owner:  nobody
Status:  new | Milestone:
 Component:  django.contrib.admin|   Version:  1.2   
Resolution:  |  Keywords:
 Stage:  Design decision needed  | Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Changes (by russellm):

  * stage:  Unreviewed => Design decision needed

Comment:

 @adam - I disagree. If I press "now", and the time comes up as anything
 other than UTC+8 (my timezone), that will be confusing.

 Ultimately, I suspect that this will end up being fixed as a result of
 addressing #2626. Leaving it as a separate DDN issue in case someone can
 come up with a better approach.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.