Sha256: 24d9c69eb6c8db83eeaba21180f5778e620ff390a71de4366d22befd046daa84

Contents?: true

Size: 1.67 KB

Versions: 1491

Compression:

Stored size: 1.67 KB

Contents

![timestamp-align](https://github.com/powerhome/playbook/assets/92755007/9107e699-218e-4a15-a0f9-b1a8f4710c37)

```swiftÄ
VStack(alignment: .leading, spacing: Spacing.small) {
  Group {
    PBTimestamp(
      Date(),
      showDate: false
    )
    .frame(minWidth: minWidth, maxWidth: .infinity, alignment: .leading)
    PBTimestamp(Date())
      .frame(minWidth: minWidth, maxWidth: .infinity, alignment: .leading)
    PBTimestamp(Date().addingTimeInterval(addThreeYear))
      .frame(minWidth: minWidth, maxWidth: .infinity, alignment: .leading)
    PBTimestamp(Date().addingTimeInterval(subOneYear))
      .frame(minWidth: minWidth, maxWidth: .infinity, alignment: .leading)
  }
  Group {
    PBTimestamp(
      Date(),
      showDate: false
    )
      .frame(minWidth: minWidth, maxWidth: .infinity, alignment: .center)
    PBTimestamp(Date())
      .frame(minWidth: minWidth, maxWidth: .infinity, alignment: .center)
    PBTimestamp(Date().addingTimeInterval(addThreeYear))
      .frame(minWidth: minWidth, maxWidth: .infinity, alignment: .center)
    PBTimestamp(Date().addingTimeInterval(subOneYear))
      .frame(minWidth: minWidth, maxWidth: .infinity, alignment: .center)
  }
  Group {
    PBTimestamp(
      Date(),
      showDate: false
    )
    .frame(minWidth: minWidth, maxWidth: .infinity, alignment: .trailing)
    PBTimestamp(Date())
      .frame(minWidth: minWidth, maxWidth: .infinity, alignment: .trailing)
    PBTimestamp(Date().addingTimeInterval(addThreeYear))
      .frame(minWidth: minWidth, maxWidth: .infinity, alignment: .trailing)
    PBTimestamp(Date().addingTimeInterval(subOneYear))
      .frame(minWidth: minWidth, maxWidth: .infinity, alignment: .trailing)
  }
}
```

Version data entries

1,491 entries across 1,491 versions & 2 rubygems

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui_docs-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui_docs-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui_docs-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui_docs-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui_docs-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui_docs-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui_docs-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui_docs-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui_docs-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md
playbook_ui-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_timestamp/docs/_timestamp_align_swift.md