warning: Creating default object from empty value in /home/cvickery/drupal-6.19/modules/taxonomy/ on line 34.

vim regex revealed

I wanted to use Vim to change graduation dates into a standard format. The form requires them to enter the date as mm/yy, but to enter it in the database, I need in in the form yyyy-mm. Sometimes they leave the leading 0 out of the month. For the database, the graduation month has to be 06, 09, or 02. But they often use 05 instead of 06 (because that’s when they want to be finished?). Here’s the Vim command to do it:

Syndicate content