Changeset 280
- Timestamp:
- 01/22/2007 07:20:54 PM
- Files:
-
- trunk/script/Vss2Svn/Dumpfile.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/script/Vss2Svn/Dumpfile.pm
r279 r280 3 3 use Vss2Svn::Dumpfile::Node; 4 4 use Vss2Svn::Dumpfile::SanityChecker; 5 require Time::Local; 5 6 6 7 use warnings; … … 764 765 my($vss_timestamp) = @_; 765 766 767 # set the correct time: VSS stores the local time as the timestamp, but subversion 768 # needs a gmtime. So we need to reverse adjust the timestamp in order to turn back 769 # the clock. 766 770 my($sec, $min, $hour, $day, $mon, $year) = gmtime($vss_timestamp); 771 my($faketime) = Time::Local::timelocal ($sec, $min, $hour, $day, $mon, $year); 772 ($sec, $min, $hour, $day, $mon, $year) = gmtime($faketime); 767 773 768 774 $year += 1900;
