For those looking for that particular function and already using jqueryui: You already have it in datepicker widget. Just call $.datepicker.iso8601Week(date_object).
The code is simple (taken from jqueryui, so either MIT or GPL license):
I just have to warn you against the attempt to extend the built-in Date type with a new method, as some suggest. You will find enough explanations around on why it is a bad idea.
Python, Firefox programming and Irish Whiskey.
Friday, September 16, 2011
Tuesday, May 3, 2011
ff3sudoku for firefox 4
Yesterday I released a new version of my sudoku firefox extension compatible with firefox 4. Before it gets reviewed, you can install it from here:
https://addons.mozilla.org/en-US/firefox/addon/sudoku/versions/
There have been no changes, I only made it compatible with firefox 4.
Subscribe to:
Posts (Atom)