Sha256: cf8a09ad8459ebfa90bf7fade64f14edb2f88d41f9c15e82d264555dda3cb483

Contents?: true

Size: 249 Bytes

Versions: 16

Compression:

Stored size: 249 Bytes

Contents

#include <leatherman/util/time.hpp>
#include <windows.h>

namespace leatherman { namespace util {

    void get_local_time(std::time_t* stored_time, std::tm* result){
       localtime_s(result, stored_time);
    }

}}  // namespace leatherman::util

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
facter-3.12.2.cfacter.20181217 ext/facter/leatherman/util/src/windows/time.cc
facter-3.12.1.cfacter.20181031 ext/facter/leatherman/util/src/windows/time.cc
facter-3.11.6.cfacter.20181031 ext/facter/leatherman/util/src/windows/time.cc
facter-3.12.1.cfacter.20181023 ext/facter/leatherman/util/src/windows/time.cc
facter-3.11.5.cfacter.20181022 ext/facter/leatherman/util/src/windows/time.cc
facter-3.12.0.cfacter.20181004 ext/facter/leatherman/util/src/windows/time.cc
facter-3.12.0.cfacter.20181001 ext/facter/leatherman/util/src/windows/time.cc
facter-3.12.0.cfacter.20180918 ext/facter/leatherman/util/src/windows/time.cc
facter-3.11.4.cfacter.20180821 ext/facter/leatherman/util/src/windows/time.cc
facter-3.11.3.cfacter.20180716 ext/facter/leatherman/util/src/windows/time.cc
facter-3.11.2.cfacter.20180612 ext/facter/leatherman/util/src/windows/time.cc
facter-3.9.6.cfacter.20180612 ext/facter/leatherman/util/src/windows/time.cc
facter-3.11.2.cfacter.20180606 ext/facter/leatherman/util/src/windows/time.cc
facter-3.9.6.cfacter.20180606 ext/facter/leatherman/util/src/windows/time.cc
facter-3.11.0.cfacter.20180319 ext/facter/leatherman/util/src/windows/time.cc
cfacter-3.11.0.rc.20180314 ext/facter/leatherman/util/src/windows/time.cc