Updates from December, 2009 Toggle Comment Threads | Keyboard Shortcuts

  • wade 17:47 on Wednesday, 30 December 2009 Permalink | Log in to leave a Comment  

    Display 12, read/write 24 TimePicker jQuery plugin 

    Jason Huck’s jQuery TimePicker plugin didn’t work for me as-is since it reads and writes in 12-hour format. While most people (strangely) prefer 12 hour format for interacting with, database time fields are 24 hour. I could have converted the format with scripting on the back-end but decided I would prefer to have the picker display 12-hour but read/write 24-hour. So, I took Jason’s great design and rewrote it to suite my needs.

    Other changes I made were adding a colon between the hour and the minute select lists, adding a space between the minute and the am/pm list, and changed the hours and minutes arrays such that the hours no longer have leading zeros and the minutes are every five instead of every fifteen.

    I have intergrated tomsalfield (issue 3) and jasonalanharris’ (issue 5) changes as well.

    My version of the script can be found in the issue tracker on the Google Code project for the plugin. Here’s a screenshot of it in use next to a date field:

  • wade 13:53 on Monday, 14 December 2009 Permalink | Log in to leave a Comment  

    40% off PHP titles through Wiley Publishing 

    Spreading a little Christmas cheer, Wiley Publishing has offered our group 40% on the following PHP titles. Please use promo code PHPH1. Offer valid from December 15th, 2009-January 31st, 2010. (More …)

    • clintonb11 11:33 on Saturday, 26 December 2009 Permalink | Log in to Reply

      Thanks Wade, you are the man. I have been a member here at uphpu for a while, but I haven’t been an active member. I always have watched job postings come through, and when the day came that I decided to go corporate, I applied to one of the job postings and got the job. I want to become more active in UPHPU as a way of saying thank you. Let me know if there is anything I can help with.

compose new post
next post/next comment
previous post/previous comment
show/hide comments
go to top
go to login
show/hide help
shift + esc