Closed (fixed)
Project:
Birthdays
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2011 at 16:32 UTC
Updated:
9 Dec 2011 at 01:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
Niklas Fiekas commentedThanks for reporting this problem, betoscopio. Drupal core has a setting for the first weekday and Birthdays module should respect it.
Comment #2
Niklas Fiekas commentedThe jQuery setting is firstDay.
I need to figure out what's the best way to pass
variable_get('date_first_day', 0);to the JavaScript layer.Comment #3
andypostSuppose you could add settings to widget via #attached code
FAPI docs
Comment #4
Niklas Fiekas commented@andypost: Thanks :)
Comment #5
betoscopioThis seems promising, thanks for your great work.
Comment #6
afeijoI added the code to the widget #attach, and to the birthdays.js file
but it had no effect
I will debug it a bit more, and post my patch tomorrow. The patch includes my changes to my other open issue tho
Comment #7
Niklas Fiekas commentedI completed this now, because it was annoying me: http://drupalcode.org/project/birthdays.git/commitdiff/8c6eb550abe8824cf....
@afeijo: To do it i took the matching hunk from your patch at #1306432: Datepicker widget should respect drupal date mask and did what was left (thus the author attribution). I realize that this breaks your patch there. You can submit your patch against the HEAD you started with, if you want - I was impacient - I can do the merge ;)
Comment #8
afeijoI've been looking for you in IRC, I saw that you asked Druplicon about me too, lol
I had to simplify my cod to return in a specific format to fit my imediately needs (birthdays_birthday.inc: reduceDateFormat() )
I will improve it when I can, or if you would, I appreciate. But I have a problem, since you commited changes to the project, I had to commit locally so I could pull from git server. Now I'm not sure how to generate the patch bcs git diff return nothing! :/
Comment #9
Niklas Fiekas commented:D
Yep.
Since you comitted it locally, please try:
If that doesn't work maybe I have a wrong idea of the state your repo is in. You could push it up to a sandbox or github or something and I could merge from there.
Comment #10
afeijoGreat, I think I've got it. Thanks
Check the attach