Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sketch-hq/date-time-sketchplugin

Sketch data plugin generating random dates and times
https://github.com/sketch-hq/date-time-sketchplugin

datetime sketch sketch-plugin

Last synced: about 1 month ago
JSON representation

Sketch data plugin generating random dates and times

Awesome Lists containing this project

README

        

# Date and Time Data Plugin

[Sketch](https://sketch.com) Data plugin that allows you to generate random dates and
times.

![Date and Time Data Plugin Screenshot](https://user-images.githubusercontent.com/69443/54697255-264d8b00-4b25-11e9-8fe8-68789616ae82.png)

## Installation

### From a release (simplest)

- [Download](https://github.com/BohemianCoding/date-time-sketchplugin/releases/latest) the latest
release of the plugin
- Double-click the .zip archive file to extract the plugin
- Double-click the `date-time.sketchplugin` to install the plugin

### From source

- Clone the repo
- Install the dependencies with `npm install`

## Using the plugin

- Select one or more text layers.
- Click on the Data button in the top left of the document's toolbar.
- Under _Text_, select _Date & Time_ and then select a date or time format to
generate.
- Press _SHIFT + COMMAND + D_ to generate another random date or time.

The date or time is localized to your current language and region system
settings e.g. in the US the date will be in the format _month/day/year_ while in Europe it will be in the format _day/month/year_.

## Create your own Data plugin for Sketch

To find out more about making your own Data plugin check out this [blog post](https://blog.sketchapp.com/do-more-with-data-2b765e870e4f) with a step by step guide.