Loading ...
Sorry, an error occurred while loading the content.

3569Re: Balasan: [id-ruby] iAsk: showing UTC as PST with to_pst ?

Expand Messages
  • Yohanes Santoso
    Apr 11 7:20 AM
    • 0 Attachment
      "Arie Kusuma Atmaja" <ariekusumaatmaja2@...> writes:

      > On 11/04/2008, Yohanes Santoso <yahoo-id-ruby@...> wrote:
      >
      >> Supaya memastikan saya mengerti jelas apa yang Arie bicarakan, saya
      >> akan kasih sebuah contoh menurut pengertian saya. Kalau tidak benar,
      >> tolong koreksi
      >
      > Exactly. Correct.
      >
      >> Kalau nanti ingin mendapatkan representation dalam timezone lainnya,
      >> apakah akan ada ``created_at_wib``, ``created_at_wita``,
      >> ``created_at_wit``, dst.?
      >
      > could be, but then i'm thinking of how to organize my codes to be much
      > better and cleaner though, or I'll usually be strict to the team by
      > asking : hey will you change time zone again? :( otherwise i'll just
      > make it as a default one PST only.

      Jadinya, apakah Arie akan buat methods seperti:

      add_decimal
      add_hexadecimal
      add_octal

      Di mana:

      4.add_decimal(6) # ==> "10"
      4.add_hexadecimal(6) # ==> "0xa"
      4.add_octal(6) # ==> "012"

      Capek dong...


      YS
    • Show all 23 messages in this topic