Datepicker month on product page?

199 views
Skip to first unread message

Les Cochrane

unread,
May 13, 2012, 7:48:00 AM5/13/12
to spree...@googlegroups.com
Hi folks, 

I just wanted to see if anyone else out there has this problem before I spend too much time investigating...

On the products page in admin, the datepicker for available on has the wrong month name showing - it's actually selecting the correct month's days, but the display seems to be suffering an out-by-one problem.  I've tried on a couple of computers, and browsers, and it's the same.

Has anyone else got this behaviour? I'm running from the master branch of edge, but it happens on 1-1 stable for me too.

Cheers

Les

Brian Quinn

unread,
May 14, 2012, 6:47:18 AM5/14/12
to spree...@googlegroups.com
Hi Les,
I don't see the same issue, so I suspect it's a locale issue. Have you configured anything custom with regards to locale or time zone?




--
Brian Quinn

Co-Founder, CTO
Spree Commerce, Inc.

--
You received this message because you are subscribed to the Google Groups "Spree" group.
To view this discussion on the web visit https://groups.google.com/d/msg/spree-user/-/Z1jAYmQ6OnsJ.
To post to this group, send email to spree...@googlegroups.com.
To unsubscribe from this group, send email to spree-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.

Steve Root

unread,
May 14, 2012, 8:14:38 AM5/14/12
to spree...@googlegroups.com
Hi  Les, 
I can confirm the same issue.  You know, I hadn't even noticed for the few products I'd added through admin (the rest I'm doing by an import script).


Monday 14th May but April in the header (14th of April was a Saturday).

Les Cochrane

unread,
May 14, 2012, 10:02:48 AM5/14/12
to spree...@googlegroups.com
Hi Brian, 

Yes, we're using the en-GB locale, but haven't overridden anything to do with the datepicker.  But it happens on a straight out of the box install too.

Cheers

Les
To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com.

Steve Root

unread,
May 15, 2012, 4:36:53 AM5/15/12
to spree...@googlegroups.com
en-GB here too, with these config settings: 

Spree::Config.set(:default_locale => "en-GB")
Spree::Config.set(:default_country_id => "213")
Spree::Config.set(:allow_locale_switching => false)
Spree::Config.set(:checkout_zone => 'UK Only')

Although I'm having a few translation errors in the admin which I've yet to track down.

Greg Morrison

unread,
May 30, 2012, 3:00:02 PM5/30/12
to Spree
We are experiencing the same behavior as well with the default locale.
I noticed the datepicker was localized in this pull request,
https://github.com/spree/spree/pull/1457

Can anyone else confirm this issue with default locale? Let's get this
fixed!
> >> spree-user+...@googlegroups.com.

Ryan Bigg

unread,
May 30, 2012, 5:24:15 PM5/30/12
to spree...@googlegroups.com
To my knowledge this is now fixed on 1-1-stable and master. Please try either of those branches.

--
Ryan Bigg

Ryan Bigg

unread,
May 30, 2012, 6:46:21 PM5/30/12
to spree...@googlegroups.com
Now that I'm out of bed I can link to the actual issue filed for it: https://github.com/spree/spree/issues/1602.

If it's still not fixed on 1-1-stable and master, please let us know.

Les C

unread,
Jun 7, 2012, 4:34:03 AM6/7/12
to spree...@googlegroups.com
Brilliant, thanks for fixing it Ryan - works on Master for me now :)
For more options, visit this group at

--
You received this message because you are subscribed to the Google Groups "Spree" group.
To post to this group, send email to spree...@googlegroups.com.
To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages