strptime 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 40c47efa2978f1a82ef92004016f867410cd8e14
4
- data.tar.gz: e7c083dcfa17a354c0065bd714ed72db04711963
3
+ metadata.gz: 55968a7fd384b067d32c78c60e3e608beb7524e0
4
+ data.tar.gz: 052bed745e3c3b49c8b75bd91c47549aabf17860
5
5
  SHA512:
6
- metadata.gz: 0a0690297d03ae4875c0d0bf4b1df4d459ed424071cc294584857cc6103fea3236e2c7178c5252e8a0322caf601b109c1ee54ec6e190973de39e4321dbc06fc0
7
- data.tar.gz: ccaef9ed34774010e0de6059afd67314a70818890db1310cc2fa2dbbb60ebf94d99b7283ec2d69c767f14df142fc4740e1bb04afcca6c2a85af4e8e0223e304a
6
+ metadata.gz: 781ee7f066121721bfc9b18a4c0ce59aa88d3ea3d12d45c1be3bdd4a32e82f4488ac96bdac01a5f466ed12b5d0515dae538420c3d7094564d9e306e94dcb07c0
7
+ data.tar.gz: 9ae0d4de2bcfbf7955fa0664f30ff812f41808f6cfecf3f2127168c818b02a239d94f13a8b7005bf6dc10b1601dd3c946135b052622423aaf819b418b8edc582
@@ -77,6 +77,7 @@ strftime_exec0(void **pc, VALUE fmt, struct timespec *tsp, int gmtoff, size_t re
77
77
  result = rb_str_new(NULL, result_length);
78
78
  p = RSTRING_PTR(result);
79
79
 
80
+ tsp->tv_sec += gmtoff;
80
81
  rb_gmtime_r(&tsp->tv_sec, &tm);
81
82
 
82
83
  INSN_DISPATCH();
@@ -1,3 +1,3 @@
1
1
  class Strptime
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strptime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - NARUSE, Yui