pike.git
/
lib
/
modules
/
Sql.pmod
/
mysql.pike
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/Sql.pmod/mysql.pike:530:
q = suffix[end+1..]; } return e; } // The following time conversion functions assumes the SQL server // handles time in this local timezone. They map the special zero // time/date spec to 0.
-
private
constant
timezone = localtime (0)->timezone;
+
private
int
timezone = localtime (0)->timezone;
//! Converts a system time value to an appropriately formatted time //! spec for the database. //! //! @param time //! Time to encode. //! //! @param date //! If nonzero then time is taken as a "full" unix time spec //! (where the date part is ignored), otherwise it's converted as a