Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

active_support_core_extensions の 16.1.2.4 advance #36

Closed
yui-knk opened this issue Dec 19, 2014 · 0 comments
Closed

active_support_core_extensions の 16.1.2.4 advance #36

yui-knk opened this issue Dec 19, 2014 · 0 comments

Comments

@yui-knk
Copy link
Collaborator

yui-knk commented Dec 19, 2014

いくつか気になったので修正したいです。

1

日時を移動する最も一般的な方法はadvanceメソッドを使用することです。このメソッドは:years、:months、:weeks、:daysをキーに持つハッシュを受け取り、日時をできるだけ詳細な形式で、現在のキーで示されるとおりに返します。

ですが、原文は

receives a hash with keys `:years`, `:months`, `:weeks`, `:days`, `:hours`, `:minutes`, and `:seconds`,

で、

`:hours`, `:minutes`, and `:seconds`

が抜けているので足したいです。

2

この実行順序には意味があります。もし順序が変わると、This order is relevant, a different ordering would give different datetimes in some edge-cases. 

と、一部原文がのこっているので

この実行順序には意味があります。エッジケースにおいては、順序が変わることで、計算結果が異なる場合があります。

のように訳したいと思います。

3

もし仮に日付部分を先に進め (前述したとおり、相対的な計算順序があります)、続いて時間部分をすすめるIf we first move the date bits (that have also a relative order of processing, as documented before), and then the time bits we get for example the following computation:

と、一部原文がのこっているので

もし仮に日付部分を先に進め (前述したとおり、相対的な計算順序があります)、続いて時間部分をすすめると以下のような結果が得られます。

のように訳したいと思います。

4

DateTimeは夏時間 (DST) については関知しません。算出された時間が最終的に存在しない時間になっても警告やエラーはは is not DST-aware you can end up in a non-existing point in time with no warning or error telling you so.

と、一部原文がのこっているので

DateTimeは夏時間 (DST) については関知しません。算出された時間が最終的に存在しない時間になっても警告やエラーは発生しません。

のように訳したいと思います。

いかがでしょうか?

tasslab pushed a commit that referenced this issue Aug 7, 2017
* Microsoft Azure storage support

* Add support for Microsoft Azure Storage

* Comply with the new headers implementation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant