Archive for the ‘Script Day’ Category

JavaScript Date Format

I took the time to implement some sorely missed functionality in the JavaScript core objects – Date is missing simple date formatting to text string. While the Date object can parse arbitrary textual descriptions of dates and times as input, it can only output textual description with a fixed “locale” template.

I’ve looked up on the web and there are some utilities that achieve this simple operation, but most of them are overly complex and some people even have the nerve to charge for this very simple code !

My first ruby script is coming along nicely

Among other things, thanks to the nice folks at #ruby-lang.

Ruby has some really nice schticks. A few of the things I currently love about ruby:

Spam prevention powered by Akismet