public
Description: A few tools I've written to aid development and production of my WordPress theme, Tarski.
Homepage: http://tarskitheme.com/
Clone URL: git://github.com/ionfish/tarski-utilities.git
Use the right time library call
ionfish (author)
Sat Jun 07 06:11:04 -0700 2008
commit  cd0983f5b4682c333d4785a26fa801a0cee0670b
tree    eaa48a494c9660453864532d3c8861f1d5fe9abd
parent  038c03a3d6d29d0cbda5d72ab8ec201f0bab9ef9
...
14
15
16
17
 
18
19
20
...
14
15
16
 
17
18
19
20
0
@@ -14,7 +14,7 @@ class TarskiVersion
0
   def initialize(version_data, config)
0
     @versions = version_data
0
     @config = config
0
- @datetime = version_data.first.first["datetime"] || DateTime.now.to_s
0
+ @datetime = version_data.first.first["datetime"] || Time.now.xmlschema
0
   end
0
   
0
   # Writes an Atom feed encapsulating the version data to the target location.

Comments

    No one has commented yet.