30 Apr '12, 1am

Date and time formats for pirates

April 27, 2012 Tagged: ruby on rails i18n time time format Comments (View) Date and time formats for pirates Need to display a date in your Rails app? First try: Time.now.strftime "arrrround %H'ish" To remove duplication, you imagine a a time format initializer . Second try: Time.now.to_s :pirate Then you remember the :default localized key. Third time’s a charm: l Time.now It formats based on the config/locales/pirate.yml file: pirate: time: formats: default: "arrrround %H'ish" date: formats: default: "arrrround %H'ish" Dates work, too: l Date.today The same system lets you alter the display of “days ago” and “minute from now.”

Full article: http://robots.thoughtbot.com/post/21920979385/date-and-ti...

Tweets

payback time

proudduck.com 01 May '12, 5pm

“Mom, stop playing Fruit Ninja and let’s go to sleep. Now.” Oh, how the tables have turned. family and friends , growing u...

sexy BIKINI swimwear: S$ 30.00End Date: Wednesd...

ebay.com.sg 01 May '12, 12am

*The estimated delivery time is based on the seller's handling time, the postage service selected, and the payment method ...

sexy wrist-length GLOVES satin white: S$ 11.00E...

ebay.com.sg 30 Apr '12, 12pm

*The estimated delivery time is based on the seller's handling time, the postage service selected, and the payment method ...

sexy TEDDY black lingerie: S$ 17.00End Date: Su...

ebay.com.sg 29 Apr '12, 12pm

*The estimated delivery time is based on the seller's handling time, the postage service selected, and the payment method ...

sexy wrist-length GLOVES satin red: S$ 11.00End...

ebay.com.sg 30 Apr '12, 12am

*The estimated delivery time is based on the seller's handling time, the postage service selected, and the payment method ...

sexy BABYDOLL black lingerie: S$ 20.00End Date:...

ebay.com.sg 28 Apr '12, 12pm

*The estimated delivery time is based on the seller's handling time, the postage service selected, and the payment method ...

The Lady's hot with DVD pirates - Daily News

The Lady's hot with DVD pirates - Daily News

sfluxe.com 28 Apr '12, 10am

The Star/Asia News Network Saturday, Apr 28, 2012 JOHOR BARU – She may be The Lady but she is still fair game for pirated ...

sexy BRA SET leopard print lingerie: S$ 19.00En...

ebay.com.sg 29 Apr '12, 12am

- items may be subject to customs processing depending on the item's declared value. Sellers set the item's declared value...

sexy pink PANTY underwear lingerie: S$ 7.00End ...

ebay.com.sg 05 May '12, 1pm

*The estimated delivery time is based on the seller's handling time, the postage service selected, and the payment method ...

Lexi Thompson looking for military prom date: P...

milblogging.com 28 Apr '12, 11pm

An ex-Marine filmmaker whose unit carried pocket digital cameras into some of the worst fighting in Iraq is using that foo...

sexy TEDDY black lingerie: S$ 17.00End Date: Th...

ebay.com.sg 06 May '12, 1am

*The estimated delivery time is based on the seller's handling time, the postage service selected, and the payment method ...

sexy BIKINI purple swimwear: S$ 23.00End Date: ...

ebay.com.sg 06 May '12, 1pm

*The estimated delivery time is based on the seller's handling time, the postage service selected, and the payment method ...

erotic kinky SEX DICE (1 dice): S$ 4.00End Date...

ebay.com.sg 05 May '12, 1pm

*The estimated delivery time is based on the seller's handling time, the postage service selected, and the payment method ...

What a tiring day! Time to zZzzzZ...

Gosh! I’m tired~ I’m freaking tired! You definitely wont believe if I told you that I’m still cleaning up my closet at 3am...

B70 (32B)_pierre cardin BRA (aqua): S$ 8.00End ...

ebay.com.sg 12 May '12, 1pm

*The estimated delivery time is based on the seller's handling time, the postage service selected, and the payment method ...