diff options
author | Bob Duff <duff@adacore.com> | 2020-05-10 11:29:27 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-07-06 07:35:33 -0400 |
commit | 90a1abf304ff076f2e96a5d039f549e99124a606 (patch) | |
tree | 1362a2b4b47e4b0ffad8032ac8acc5bfa74ccc65 /gcc/fortran/resolve.c | |
parent | d868231706cf9a43ce1d6b474e8c1aa1535c4736 (diff) | |
download | gcc-90a1abf304ff076f2e96a5d039f549e99124a606.zip gcc-90a1abf304ff076f2e96a5d039f549e99124a606.tar.gz gcc-90a1abf304ff076f2e96a5d039f549e99124a606.tar.bz2 |
[Ada] Time_IO.Image: Allow printing the time zone
gcc/ada/
* libgnat/g-catiio.ads: Document newly supported format. Add
ISO_Time constant, for convenience.
* libgnat/g-catiio.adb (Image_Helper): New helper function to do
all the formatting work, called by the two exported Image
functions. Add support for "%:::z" here. Add a Time_Zone
parameter used by the "%:::z" processing. This parameter is not
used for the actual time zone computations; local time is always
used for that, for ease of implementation reasons. It would
make sense to use Append throughout this function, but that's a
cleanup for another day.
(Image): Modify these to pass the local time zone, or the
specified time zone, as appropriate.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions