]> git.evergreen-ils.org Git - working/Evergreen.git/blob - docs/RELEASE_NOTES_NEXT/Client/new_webstaff_date_format_settings.adoc
e6804901e95f4798a3e459ebfc8ef40889ba2324
[working/Evergreen.git] / docs / RELEASE_NOTES_NEXT / Client / new_webstaff_date_format_settings.adoc
1 Date+Time Format Settings for Web Client
2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3
4 This change deprecates the existing Format Dates and Format Times settings
5 and adds two settings for use with the webstaff client:
6
7   * Format Dates with this pattern
8   * Format Date+Time with this pattern
9
10 These settings use format strings as documented here:
11
12 https://docs.angularjs.org/api/ng/filter/date
13
14 There is overlap with how the Dojo formats worked, but also some differences.
15
16 The original Format Dates and Format Times settings worked together, but the
17 new settings work independently.  Certain field elements will use one, and
18 certain field elements will use the other.  These distinctions are hard-coded
19 in the various UI templates, with the idea being that timestamp fields in
20 which the date component alone is sufficient information (for example, DOB)
21 will use the Format Dates setting.  Fields where the time component is
22 important (for example, Checkout Time) will use the Format Date+Time setting.
23
24 When the settings Format Dates and Format Date+Time are unset, we will default
25 to "shortDate" (M/d/yy) and "short" (M/d/yy h:mm a), respectively.
26