Skip to content

Commit

Permalink
updated build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
iamcal committed May 7, 2021
1 parent cad130e commit 93dff40
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ If you want to display a human readable zone label, there's a function for that
echo "It's currently ".date('H:i')." ".timezones_label($zone);
// e.g. "It's currently 10:32 Cuba Daylight Time"

The labnel will take into account daylight savings in the specified zone.
The label will take into account daylight savings in the specified zone.


## Usage - Auto-detecting a Timezone from JavaScript
Expand Down Expand Up @@ -85,18 +85,18 @@ other are defined in `data/static.php`. When you modify that file, you'll need t
libraries as follows:

npm install // first time only
bower install // first time only
grunt
npm run build


## Timezone DB

To update to the latest version of the timezone DB:

sudo pecl upgrade timezonedb
grunt
sudo apt-get update
sudo apt-get install tzdata
npm run build

This will rebuild the data files, embedding the timezone DB version into the file.
This will rebuild the data files, embedding the timezone DB version into the file.


## Caveats
Expand Down

0 comments on commit 93dff40

Please sign in to comment.