Use gmtime() instead of localtime(), closes #22