diff options
author | Mike Mason <ms13sp@gmail.com> | 2007-12-04 21:55:36 +0000 |
---|---|---|
committer | Mike Mason <ms13sp@gmail.com> | 2007-12-04 21:55:36 +0000 |
commit | 9e9c8f167b068fe506e633c71f2395f59bd8ce0b (patch) | |
tree | 0623a1e0107ac4cd45f3e9eb242fd47179a808c5 /lib/fs.lua | |
parent | e1629e16cade9decf1f0045cb51d26198597848e (diff) | |
download | acf-core-9e9c8f167b068fe506e633c71f2395f59bd8ce0b.tar.bz2 acf-core-9e9c8f167b068fe506e633c71f2395f59bd8ce0b.tar.xz |
Added timezone information to date.lua. Added fs.file_write to be able to add newlines at the end of the file(most strings don't have them) and also added a function to format.lua
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@408 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lib/fs.lua')
-rw-r--r-- | lib/fs.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -56,6 +56,8 @@ end function write_file ( path, str ) local file = io.open(path, "w") + --append a newline char + str = str .. "\n" if ( file ) then file:write(str) file:close() |