Skip to content

Commit

Permalink
Merge pull request #22 from msgpack/feature/update_for_pharo11-2
Browse files Browse the repository at this point in the history
Override MpPhPortableUtil >> timestampFromSeconds: seconds nanos: nanoSeconds.
  • Loading branch information
mumez authored Feb 3, 2024
2 parents 014a19c + 3cc4631 commit db23187
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
actions
timestampFromSeconds: seconds nanos: nanoSeconds
| ts |
ts := DateAndTime fromSeconds: seconds + 2177452800 offset: 0.
nanoSeconds > 0 ifTrue: [ ts setNanoSeconds: nanoSeconds].
^ts

0 comments on commit db23187

Please sign in to comment.