diff options
Diffstat (limited to 'src/core/wee-version.c')
-rw-r--r-- | src/core/wee-version.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/wee-version.c b/src/core/wee-version.c index bf6a3303e..806296b46 100644 --- a/src/core/wee-version.c +++ b/src/core/wee-version.c @@ -134,3 +134,16 @@ version_get_compilation_time () { return __TIME__; } + +/* + * Returns date/time of WeeChat compilation. + * + * Example: + * Dec 16 2012 18:10:22 + */ + +const char * +version_get_compilation_date_time () +{ + return __DATE__ " " __TIME__; +} |