ruby on rails - how to display timestamp without timezone -


@object.updated_at.localtime displays "2015-04-20 14:39:27 -0700". don't want display -0700, there method strip out timezone display purposes?

@object.updated_at.localtime.strftime '%y-%m-%d %h:%m:%s' 

Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -