diff --git a/d0355r4.html b/d0355r4.html
index 73c67b6..1ea6479 100644
--- a/d0355r4.html
+++ b/d0355r4.html
@@ -59,6 +59,9 @@ Document number: D0355R4
remote_download
and
+remote_install
. This functionality is now subsumed by the implementation.to_stream
sets failbit
if it is required to create a name
for an invalid month or weekday.fmt
(P0645)-This subsection is optional/separable and needs further discussion in the LEWG. No -other sections depend upon this subsection. + +
+The local time zone database is that supplied by the implementation when the
+application first accesses the database, for example via current_zone()
.
+While the application is running, the implementation may choose to update the time
+zone database. This update shall not impact the application in any way unless the
+application calls the functions in this section. This potentially updated time zone
+database is referred to as the remote time zone database.
@@ -9264,12 +9272,9 @@ const tzdb& reload_tzdb();
-Effects: This function first checks the latest version at the -IANA website. If the -IANA website is unavailable, or if the -latest version is already installed, there are no effects. Otherwise, a new version -is available. It is downloaded and installed, and then the program initializes -a new
tzdb
from the new disk files and pushes it to the front of +Effects: This function first checks the version of the remote time zone database. +If the version of the local and remote databases are the same, there are no effects. +Otherwise the remote database is pushed to the front of thetzdb_list
accessed byget_tzdb_list()
.@@ -9279,8 +9284,8 @@ the
tzdb_list
accessed byget_tzdb_list()
. Remarks: No pointers, references or iterators are invalidated.-Thread Safety: This function is thread safe with respect to
front()
-anderase_after()
. +Thread Safety: This function is thread safe with respect to +get_tzdb_list().front()
andget_tzdb_list().erase_after()
.Throws:
runtime_error
if for any reason a reference can not @@ -9293,61 +9298,12 @@ string remote_version();- --Returns: The latest database version number from the -IANA website. If the -IANA website can not be reached, or -if it can be reached but the latest version number is unexpectedly not -available, the empty string is returned. +Returns: The latest remote database version. If the remote +version s not available, the empty string is returned.
Note: If non-empty, this can be compared with
-get_tzdb().version
to -discover if you have the latest database installed. --bool remote_download(string_view version); ---- --Effects: If
-version == remote_version()
this function will download -the compressed tar file holding the latest time zone database from the -IANA website. The tar file will be placed -at an unspecified location. --Returns:
-true
if the database was successfully downloaded, else -false
. --Thread safety: If called by multiple threads, there will be a race on the -creation of the tar file. -
--bool remote_install(string_view version); ----Effects: If
-version
refers to the file successfully -downloaded byremote_download()
this function will remove the -existing time zone database, then extract a new database -from the tar file, and will then delete the tar file. --This function does not cause your program to re-initialize itself from -this new database. In order to do that, you must call -
-reload_tzdb()
(orget_tzdb()
if the database has yet -to be initialized). --Returns:
-true
if the database was successfully replaced by -the tar file , elsefalse
. --Thread safety: If called by multiple threads, there will be a race on the -creation of the new database. +discover if the local and remote databases are equivalent.