]> git.madduck.net Git - etc/awesome.git/blobdiff - src/tzcache.lua

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

src/timetable: Add timestamp method
[etc/awesome.git] / src / tzcache.lua
index 72ae4015ce61b0f0a95d97680808ef9c5ea2a933..de62d79c09f796bc731643862a909020c80697bc 100644 (file)
@@ -16,6 +16,7 @@ end
 
 local function get_tz ( name )
        local path = name_to_zoneinfo_path ( name )
 
 local function get_tz ( name )
        local path = name_to_zoneinfo_path ( name )
+       -- TODO: stat path
        local tzinfo = tz_cache [ path ]
        if tzinfo == nil then
                tzinfo = read_tzfile ( path )
        local tzinfo = tz_cache [ path ]
        if tzinfo == nil then
                tzinfo = read_tzfile ( path )