Skip to content

Commit

Permalink
Merge pull request #171 from sablier-labs/chore/update-csv-section
Browse files Browse the repository at this point in the history
chore: update apps csv
  • Loading branch information
PaulRBerg authored Aug 31, 2024
2 parents e6a8cb4 + 1a0fbe4 commit caef86b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
27 changes: 15 additions & 12 deletions docs/apps/guides/03-csv-support.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@ title: "CSV Support"
The Sablier Interface provides a number of **advanced** features using templated CSV files. Bellow you can find a list
of all these features that help automate medium to large scale distributions.

:::warning Date and time Caveats

**Dates**: All the columns that use the "date" type should have the following format: "YYYY-MM-DD HH:mm".

**Durations**: All the columns that use the "duration" type should have the following format: "**x** years **y** days
**z** hours". Note that each particle is optional, e.g., you can skip the days.

**Timezones**: The dates and times extracted from the CSV are processed using the same timezone as the locales of the
client's device.

**Amounts**: All the amounts should be expressed in humanized notion. They will be padded with the selected token's
number of decimals in the processing step.

:::

## Streams: Create Group

| |
Expand Down Expand Up @@ -98,18 +113,6 @@ For convenience, here's a table with all the available templates:
In order to properly use the CSV create feature you will have to provide data in the proper format for each column.
Bellow you can find a list with each possible column, a short description and an example value.

:::warning Date and time Caveats

**Dates**: All the columns that use the "date" type should have the following format: "YYYY-MM-DD HH:mm".

**Durations**: All the columns that use the "duration" type should have the following format: "**x** years **y** days
**z** hours". Note that each particle is optional, e.g., you can skip the days.

**Timezones**: The dates and times extracted from the CSV are processed using the same timezone as the locales of the
client's device.

:::

:::info

If editing the CSV in Google Spreadsheets or similar applications, make sure that these formats are not overridden by
Expand Down
4 changes: 4 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ const config: Config = {
from: "/apps/csv-support",
to: "/apps/guides/csv-support",
},
{
from: "/csv",
to: "/apps/guides/csv-support",
},
],
},
],
Expand Down
Binary file modified static/screenshots/create-group-template-modal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit caef86b

Please sign in to comment.