--- session_state.cc	2012-11-04 18:12:16.290971779 +0400
+++ /home/andrew/tmp/session_state.cc	2012-11-11 12:32:21.106612951 +0400
@@ -701,7 +701,7 @@
 
         time (&n);
         localtime_r (&n, &local_time);
-        strftime (timebuf, sizeof(timebuf), "JS_%FT%T", &local_time);
+        strftime (timebuf, sizeof(timebuf), "JS_%Y_%m_%dT%H_%M_%S", &local_time);
 
         if (event->type == JackSessionSaveTemplate)
         {
