aboutsummaryrefslogtreecommitdiff
path: root/src/time.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/time.cpp')
-rwxr-xr-xsrc/time.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/time.cpp b/src/time.cpp
index 6d1401d..f54237f 100755
--- a/src/time.cpp
+++ b/src/time.cpp
@@ -10,8 +10,8 @@
// --- OPERATOR OVERLOADS ---
//
-long sortable_time(const moment input_moment) {
- return stol(std::to_string(input_moment.year)+
+long long sortable_time(const moment input_moment) {
+ return stoll(std::to_string(input_moment.year)+
padint(input_moment.month,2)+
padint(input_moment.day,2)+
padint(input_moment.hours,2)+