nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge: doc: fixed some typos and other misc. corrections
[nit.git]
/
src
/
platform
/
app_annotations.nit
diff --git
a/src/platform/app_annotations.nit
b/src/platform/app_annotations.nit
index
9cfdec9
..
6f09790
100644
(file)
--- a/
src/platform/app_annotations.nit
+++ b/
src/platform/app_annotations.nit
@@
-39,8
+39,8
@@
class AppProject
var version_code: Int is lazy do
# Get the date and time (down to the minute) as string
var version_code: Int is lazy do
# Get the date and time (down to the minute) as string
- var local_time = new Tm.localtime
- var local_time_s = local_time.strftime("%y%m%d%H%M")
+ var gmtime = new Tm.gmtime
+ var local_time_s = gmtime.strftime("%y%m%d%H%M")
return local_time_s.to_i
end
return local_time_s.to_i
end