Browse Source

set timezone on startup

main
Stefan Pranger 3 years ago
parent
commit
c47ccdc13b
  1. 2
      calendar-daemon.cpp

2
calendar-daemon.cpp

@ -107,7 +107,7 @@ int main(void)
// Daemon-specific intialization should go here // Daemon-specific intialization should go here
setenv("TZ", "/usr/share/zoneinfo/Europe/Vienna", 1); // POSIX-specific
std::string calendar = "dummy"; std::string calendar = "dummy";
std::string directory = "/home/stefan/.local/share/khal/calendars/" + calendar + "/"; std::string directory = "/home/stefan/.local/share/khal/calendars/" + calendar + "/";
sql::Database* db = init_database(calendar); sql::Database* db = init_database(calendar);

Loading…
Cancel
Save