Commit Diff


commit - 2d4b91d3d8952a3e5895f718e540ddd3e779f83c
commit + c0e7311feaa950f65a487dafd5463dc7cde7535c
blob - d66cace43704a399c82a1ae0f12316467b90abbb
blob + 298347f1ed7c5bbf3650897708932a39aa100495
--- src/lib/core/datetime.c
+++ src/lib/core/datetime.c
@@ -78,16 +78,6 @@ datetime_isdst(const struct datetime *date)
 
 	epoch_timezone_lookup(date->epoch, date->tzindex, &gmtoff, &isdst);
 	return isdst != 0;
-}
-
-long
-datetime_gmtoff(const struct datetime *date)
-{
-	int isdst = 0;
-	long gmtoff = date->tzoffset * 60;
-
-	epoch_timezone_lookup(date->epoch, date->tzindex, &gmtoff, &isdst);
-	return gmtoff;
 }
 
 void
blob - af831e0a25899d62405ecd6cbfc8e9ef3af7dbf8
blob + d45c990af5148a1c20da52a4d7b0c5419a9b34ba
--- src/lib/core/datetime.h
+++ src/lib/core/datetime.h
@@ -185,12 +185,6 @@ tm_to_datetime(struct tnt_tm *tm, struct datetime *dat
  */
 bool
 datetime_isdst(const struct datetime *date);
-
-/**
- * Return gmtoff of a given @sa datetime moment.
- */
-long
-datetime_gmtoff(const struct datetime *date);
 
 /**
  * Parse datetime text in ISO-8601 given format, and construct output